I see this need, which people like me self-taught, try to understand.
The question is - Nowadays some features are already supported by the main browsers HTML5, CSS3, DOM, APIs and ECMAScript ... being very Javascript , is not my case, but you can be one of them. However, I always come across some answers here using them.
There is always a need to transition (transcribe) this feature (s) to some compatible method . But as I am always an apprentice, today, I open an issue indifferent to the others made by me.
The idea here is to give a list of comparisons of what can be replaced by another native JavaScript method, in the absence of browser support.
Example
In HTML 5, we have as native praceholder
for text field. It clears the text set in value
when in focu .
This same effect can be achieved with pure Javascript as follows:
<input value="digite aqui" type="text"
onblur="if(this.value == '') {this.value = 'digite aqui';}"
onfocus="if(this.value == 'digite aqui') {this.value = '';}" />
In short - it means using Javascript's own method and properties instead of elegant APIs and such.
I think HTML5, CSS3, DOM, APIs and ECMAScript ... in a general way would be best applied to a specific project (APP) and / or given device, such as Android user, Windows Phone or iOS, but not for a whole as the Web, remembering that not all have fast and state-of-the-art computers, and over time Firefox, Google Chrome, Opera and Safari among others less, update their browsers periodically, given that we have to make a Purchase of a new Micro Computer, because the new upgrade can no longer run on the old PC, sometimes neither install.
As far as NGOs, nonprofits are concerned, they can not afford to buy a new appliance, they survive on donations, right?
Oh, I'm on the stage. If I am developing a Web project and wish to impact the greater number of Internet users in contact with the site / blog, how will I give up Cross Browser language . I can not!
If anyone understood the question leave your answer or comment.