 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
shawnrgr
Joined: 15 Mar 2008 Posts: 2
|
Posted: Sat Mar 15, 2008 6:03 pm Help submiting form to iFrame. |
|
|
|
I had this working before, but something happened and its no longer working. I can't figure it out. Looking for some help! Thanks in advance!
| Code: |
<form target="ListFrame" name="selector">Meetings:<br>
<select class="selectInput" id="BildSelect">
<option value="lists/2007.html">55th - Istanbul, Turkey (2007)</option>
<option value="lists/2006.html">54th - Ottawa, Canada (2006)</option>
</select>
<input class="jbtn" value="Submit" onclick="go()" type="button">
</form>
<div class="img-default"><iframe id="ListFrame" src="lists/2007.html" frameborder="0" height="200" width="100%"></iframe></div> |
When pressing submit, nothing happens at all. I know this can be accomplished with javascript but I would rather avoid that if I could. As I said above, I know this is possible because I was able to get this working before. Thanks! |
|
ogsolution
Joined: 26 Dec 2007 Posts: 144
|
Posted: Sat Mar 15, 2008 8:32 pm |
|
|
|
Your form doesn't have an action. You can target the iframe to have the frame show the form submission but you still need the action to submit.
| Code: |
| <form target="ListFrame" name="selector" action="lists/2007.html"> |
|
|
shawnrgr
Joined: 15 Mar 2008 Posts: 2
|
Posted: Sat Mar 15, 2008 8:47 pm |
|
|
|
| I added the action part to the form, still nothing happens, could it be anything else? |
|
ogsolution
Joined: 26 Dec 2007 Posts: 144
|
Posted: Sun Mar 16, 2008 12:17 am |
|
|
|
ya, your submit button should have type="submit"
| Code: |
| <input class="jbtn" value="Submit" type="submit"> |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|