Javascript
Jump to navigation
Jump to search
Javascript approaches to do the same task
get the document by id
- document.getElementById('abcId')
- alternative: (1) Get the id attribute by using jQuery attr(): $("selector").attr("id");[1] (example) and (2) go to the first step
- parallel naming rules for html elemnt tags ex: <input id='checkbox_id1' > & <select id="select_id1">
- javascript - How to create HTML select option from JSON hash? - Stack Overflow
- JavaScript - populate drop down list with array - Stack Overflow