tags:

views:

155

answers:

3

I want to be able to post the following form without the page refreshing in jquery and i need the form to post in information into actions.php

can somebody help me please?

<div id="postbox">
    <form method="post" id="ptowall">
        <input name="post" type="submit" value="Post" />
    </form>
</div>

Thank you.

A: 

The jQuery Form Plugin works really well and will do just what you're after.

nickf
+1  A: 

You could use the .serialize() command with the Ajax functions for talking to the server.

Hugoware
+2  A: 
$("#ptowall").bind("submit", function() { return false; });

$.post("your-form-submit-handler", $("#ptowall").serialize());
tom