Advertisement

Submit together with onclick ajax_loadContent NEED HELP!!

Moderators: Calcifer, slothy

Submit together with onclick ajax_loadContent NEED HELP!!

Postby eriksnet » Sun Jul 12, 2009 10:48 pm

I have a form that needs to post to an outside server.

I just want to lad a new page via ajax. The two won;t work together. Is there a fix?

Erik

HTML:

[code]<form action="https://www.expressdb.com/edp/?AppKey=3905B91021BD0A1490189D249874B317AAD9067B" method="post" enctype="multipart/form-data">
<table>
<tr>
<td class="first">Name</td>
</tr>
<tr>
<td><input name="first" type="text" /> </td>
</tr>
<tr>
<td class="first">Email Address</td>
</tr>
<tr>
<td><input name="email" type="text" /> </td>
</tr>
<!-- <tr>
<td class="first">Telephone (Optional)</td>
</tr>
<tr>
<td><input name="telephone" type="text" /> </td>
</tr> -->
<tr>
<td class="first">Order Number (Optional)</td>
</tr>
<tr>
<td><input name="order" type="text" /> </td>
</tr>
<tr>
<td class="first">Your Message</td>
</tr>
<tr>
<td><textarea cols="5" name="message" rows="2"></textarea></td>
</tr>
</table>

<div id="fieldSEND">
<input id="send1" class="field3" src="/images/send1.png" style="cursor: pointer" type="image" onclick="ajax_loadContent('nh1_wrap2L','externals/thank_you.htm');return false">
</div>
</form>
eriksnet
 
Posts: 1
Joined: Sun Jul 12, 2009 10:41 pm

Return to Form widget questions

Who is online

Users browsing this forum: No registered users and 3 guests