I want to make a form nested in another form, it's run on Opera and FireFox but it's occur error in IE
<form name="f1">
<input type="text">
<form name="f2"><input type="text">
<input type="button" onclick="document.f2.submit();">
</form
</form
How can I make form f2 submit by using javscript ???
(I want to solve this problem because my website using Ajax upload
| |
|
Welcome to KnowledgeSutra - Dear Guest | |
How To Make Form Nested In Internet Explorer ?
Started by zeroxw, May 22 2008 01:08 PM
4 replies to this topic
#2
Posted 22 May 2008 - 03:23 PM
I don't see the purpose for the nested forms.
Where is the submit button for the first form? Does it submit with the button in form2? Your forms are missing the action=, too.
What does this form do? How do the forms relate to each other?
What error are you receiving in IE? Do you have the DOM Console for Opera or FF to check if there are actually issues which are not displaying?
Trying to assist you here, but your information should include more detail, particularly the error you get from IE. Which IE, by the way?
Check this link: http://www.w3schools.../html_forms.asp
and this one, too: http://bytes.com/for...hread95602.html
Where is the submit button for the first form? Does it submit with the button in form2? Your forms are missing the action=, too.
What does this form do? How do the forms relate to each other?
What error are you receiving in IE? Do you have the DOM Console for Opera or FF to check if there are actually issues which are not displaying?
Trying to assist you here, but your information should include more detail, particularly the error you get from IE. Which IE, by the way?
Check this link: http://www.w3schools.../html_forms.asp
and this one, too: http://bytes.com/for...hread95602.html
#4
Posted 08 September 2009 - 10:00 AM
Using javaScript for -> onclick="document.f2.submit();"How To Make Form Nested In Internet Explorer ?Replying to zeroxwOnclick="document.F2.Submit();"Write the above line as onclick="javascript:document.F2.Submit();"-reply by sachin
#5
Posted 12 June 2010 - 07:53 PM
maybe it is too late :-)
But you can use document.all.f2 instead of document.f2.
[quote name='zeroxw' date='22 May 2008 - 04:38 PM' timestamp='1211461725' post='390979']
I want to make a form nested in another form, it's run on Opera and FireFox but it's occur error in IE
<form name="f1">
<input type="text">
<form name="f2"><input type="text">
<input type="button" onclick="document.f2.submit();">
</form
</form
How can I make form f2 submit by using javscript ???
(I want to solve this problem because my website using Ajax upload
[/quote]
But you can use document.all.f2 instead of document.f2.
[quote name='zeroxw' date='22 May 2008 - 04:38 PM' timestamp='1211461725' post='390979']
I want to make a form nested in another form, it's run on Opera and FireFox but it's occur error in IE
<form name="f1">
<input type="text">
<form name="f2"><input type="text">
<input type="button" onclick="document.f2.submit();">
</form
</form
How can I make form f2 submit by using javscript ???
(I want to solve this problem because my website using Ajax upload
[/quote]
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users














