how can i send jquery ajax http request with php

Posted by testkhan on Stack Overflow See other posts from Stack Overflow or by testkhan
Published on 2010-05-30T15:32:32Z Indexed on 2010/05/30 15:42 UTC
Read the original article Hit count: 157

Filed under:
|

i have following form...

<form action="http://mydomain.com/get.php" method="post">   
    <input type="hidden" value="thisisvalue" name="hdnvalue">
    <input type="text" name="cost" id="cost"><br><br>
    <textarea id="msg" name="message"></textarea><br><br>   
    <input type="submit" value="Send" id="send">
</form>

the get.php file will response in 1 or 0 i.e 1 means recieved and 0 means not recieved now i want to send it to http://mydomain.com/get.php via http request with jquery ajax how can i do that get the returned value..

© Stack Overflow or respective owner

Related posts about php

Related posts about jQuery