Rochak.js – Javascript class of common functions
-
Pages
-
Categories
-
My Flickr
Get this widget at roytanck.com
Syndication
Blog RSS
via Technorati
Category Archives: JavaScriptRochak.js – Javascript class of common functions
JavaScript has come a long way from being used just as Client Side Form Validator to becoming the backbone of Web 2.0 rich web applications. In the current scenario, every web developer have to learn JavaScript as there is hardly any Web 2.0 application which does not implement JavaScript.
In my opinion followings are the most [...]
document.getElementById(‘id_of_element’).value
How many of you tried to use this JavaScript’s case sensitive way to access an element ? Have you ever wished for a smaller code to access the element ? If yes… I am here to grant your wish with this simple function.
Just add the following line on the top of your JavaScript code:
function $(o){return [...]