14,954
edits
| 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 == | ||