OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
form submit workaround...
This page's ID:
10583
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
I'm trying to use a poll from cutandpastescripts.com (not my idea, trust me). Anyway, it's a poll script, and when you press the 'vote' button, it goes to a results page. I'm trying to get it to open up a new window and show the results in that new window. Problem is I want to make it a windows with no scroll bars, no toolbar, etc... What I have so far (using the onsubmit attribute in the form tag) is a new windows just like I want, but it doesn't submit the information. here is the code... [quote]<table border="0" cellpadding="0" cellspacing="0"> <form action="#" METHOD="POST" onsubmit="window.open('http://www.cutandpastescripts.com/cgi-bin/vote/mypoll.pl?froggy81','clone','resizable,no-scrollbars,width=500,height=300')"> <tr bgcolor="#a3bea7"><td><font class="rightcont">Frogs</td><td align=center><input type=radio name="476969794169" value="Frogs"></td></tr> <tr><td><font class="rightcont">Snakes</td><td align=center><input type=radio name="476969794169" value="Snakes"></td></tr> <tr bgcolor="#a3bea7"><td><font class="rightcont">Lizards</td><td align=center><input type=radio name="476969794169" value="Lizards"></td></tr> <tr><td><font class="rightcont">Turtles/Tortoises</td><td align=center><input type=radio name="476969794169" value="Turtles/Tortoises"></td></tr> <tr bgcolor="#a3bea7"><td><font class="rightcont">Other</td><td align=center><input type=radio name="476969794169" value="Other"></td></tr> <tr><td align=center colspan=2><input type=submit name=button value="Vote"><br> <font face="Arial" size="1"><a href="#" onClick="window.open('PollResults.html','clone','resizable,no-scrollbars,width=500,height=300')">View Results</a></font></td></tr> </form> </table>[/quote] What I need is for the form to submit the data but return the results in a new window, which is why I'm trying to get a work around. Is there any way to use the target attribute to open a window and resize it, remove the scrollbars and toolbar, etc? Any other ideas? Here is the working page... [url=http://www.reptilegirl.com/newpage/index.shtml]http://www.reptilegirl.com/newpage/index.shtml[/url] Thanks [img]http://www.reptilegirl.com/sig3.gif[/img] -It never hurts to always be right-
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »