Javascript: Difference between revisions

Jump to navigation Jump to search
120 bytes added ,  29 January 2013
m
no edit summary
(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...")
 
mNo edit summary
Line 4: Line 4:
* <nowiki>document.getElementById('abcId')</nowiki>
* <nowiki>document.getElementById('abcId')</nowiki>
* alternative: jQuery attr(): <nowiki>$("selector").attr("id");</nowiki><ref>[http://api.jquery.com/attr/ .attr() | jQuery API Documentation]</ref> and go to the first step
* alternative: jQuery attr(): <nowiki>$("selector").attr("id");</nowiki><ref>[http://api.jquery.com/attr/ .attr() | jQuery API Documentation]</ref> and go to the first step
* parallel naming rules for html elemnt tags ex: <nowiki><input id='checkbox_id1' > & <select id="select_id1"></nowiki>


== references ==
== references ==

Navigation menu