OZONE Asylum
Forums
DHTML/Javascript
Error: document.form has no properties
This page's ID:
27669
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hi, I have a function function savechanges(formname) { var allqs = document.getElementById("allqs"); var selectedqs = document.getElementById("selectedqs"); selectedqslen = selectedqs.length; // Check if the inviteelist is not empty. if(selectedqslen <=0) { alert(" Please select a quiz question before Saving"); return 0; } for( i=0; i< selectedqslen ; i++) { alert(selectedqslen); selectedqs.options[i].selected = true ; } alert(formname); var sform = document.getElementById(formname); //alert(document.Id('makeqset')); //sform.submit(); document.forms['makeqset'].submit(); } Which takes selected values from select multiple and submits it. I tried a lot of methods suggested by this form but in vain. "alert(document.Id('makeqset'));" line return a NULL. Can you please help me out with this.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »