By pollyplummer on
I'm having a problem with the submit button in a from. This is what the html of my form looks like:
<div id="contactForm" style="display:none;">
<form id="myForm" action="http://www.macksgrill.net/public_html/themes/celju/send.php" method="post">
<p id="success" style="display:none;">Your email was sent successfully.</p>
<p id="bademail" style="display:none;">Please enter a valid email address.</p>
<p id="badserver" style="display:none;">Your email failed. Please try again later.</p>
<fieldset class="left">
<legend>Get in touch.</legend>
<label for="nameinput">Your name
<input type="text" class="large" name="name" id="name"/>
</label>
<label for="emailinput" class="bottom">Email Address
<input type="text" class="large" name="email" id="email"/>
</label>
</fieldset>
<fieldset class="wide">
<label for="comment" class="bottom">Your Message
<textarea id="comment" name="comment">Type your message here</textarea>
</label>
</fieldset>
<fieldset class="submit">
<input type="submit" class="submit" id="submit" value=""/>
<input type="submit" class="submit" id="submit" value="Send" style="display:none;"/>
</fieldset>
<div class="clear"></div>
</form>
</div>
<div class="contact"><a href="#" class="btncontact">contact</a></div>
It's an ajax form that utilizes the jquery form plugin. I suspect that I'm not calling the "form action" section correctly for drupal to understand it. I don't get any action at all on the button. Any help would be greatly appreciated!