NODE.JS, LAMP, HTML, JavaScript, CSS
NODE.JS, LAMP, HTML, JavaScript, CSS, PHP, MySQL
Monday, January 08, 2007
How to make the available options of select box as selected while submitting a form using javascript?
for(var i = 0;i < document.formname.selectboxname.length;i++) {
document.formname.selectboxname.options[i].selected = true;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment