Not logged in? Join one of the bigest Law Forums on the Internet! Join Now!  

Advertisments:




Sponsor Links:

Discount Legal Forms
Discounted Legal Texts


How do I load a form action into a div using jquery?

Dealing with a class action? Discuss it here

How do I load a form action into a div using jquery?

Postby armin » Sat Mar 31, 2012 4:31 am

My contact form submits through a page i have called send.php
once completed, send.php echoes 'thanks'

i've been trying to use .load() to load the send.php page into the same form box i am containing the form in.

Else, send.php will load on a blank screen and simply say 'thanks'

i want the process of everything sending to happen and the text 'thanks' to replace my original form.

--
so if this is my form:

<form action="send.php" method="POST" class="form">

<input type="text" value="Never Mind" class="nvm" />
<input type="submit" value="Send" class="sendBtn""/>

How would I go about doing this?
I've tried so many different ways but all that i believe 'should' work end up making the entire page that my form is on go blank [unable to see anything including the form to even click send]
armin
 
Posts: 22
Joined: Thu Mar 31, 2011 8:59 pm
Top

Return to Class Action

 


  • Related topics
    Replies
    Views
    Last post