Javascript: Difference between revisions

Jump to navigation Jump to search
314 bytes added ,  16 February 2013
Line 8: Line 8:
var selectId = inputId.replace("checkbox_", "select_");
var selectId = inputId.replace("checkbox_", "select_");
</pre>
</pre>
== Changing HTML Content ==
* Using jQuery [http://api.jquery.com/html/ .html()]<ref>[http://stackoverflow.com/questions/3563107/jquery-html-vs-innerhtml javascript - JQuery html() vs. innerHTML - Stack Overflow]</ref>
* [http://www.w3schools.com/js/js_htmldom_html.asp JavaScript HTML DOM Changing HTML Content]


== Create HTML select option ==
== Create HTML select option ==

Navigation menu