Javascript: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Javascript approaches to do the same task get the document by id * <nowiki>document.getElementById('abcId')</nowiki> * alternative: jQuery attr(): <nowiki>$("selector").attr("id...") |
(No difference)
|
Revision as of 12:28, 29 January 2013
Javascript approaches to do the same task
get the document by id
- document.getElementById('abcId')
- alternative: jQuery attr(): $("selector").attr("id");[1] and go to the first step