-
Ajax Content and Form Submit
1) Script Title: Ajax Content
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...jaxcontent.htm
3) Describe problem:
So far the script is working wonders,
My final problem now is getting a form to submit and still pass the variables, Im currently using this;
<form action="javascript:ajaxpage('accounts/staff/create_process.php', 'dvContent');" method="post" name="Form" id="Form">
However, it dosnt pass any variables. I can think of a few work arounds but it will require me to reload the entire page and I really don't want this.
Please, this is the last piece in my puzzle for the application, is it possible??
Cheers,
Byron
Last edited by b0bro'; 08-14-2008 at 11:18 AM.
-
-
-
-
There are two types of Ajax requests- GET and POST. This script uses GET, so it won't be able to submit the contents of a form unfortunately. What you need is the later. There's a nice tutorial on rolling your own Ajax GET or POST request here.
DD Admin
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks