sending full form data to back end using jquery

Posted by pradeep on Stack Overflow See other posts from Stack Overflow or by pradeep
Published on 2010-05-30T18:15:31Z Indexed on 2010/05/30 18:22 UTC
Read the original article Hit count: 131

Filed under:
|

i have a form that is dynamically built. so the number of form elements arr not fixed. I wnat to send whole of $_POSt data from the form using jquery to back end for processing .i cant use jquery form plugin as the jquery version i am using is old.

any other way ? i tied to do like this

$.post('all_include_files/update_save.php',{variable:"<?php echo json_encode($_POST) ?>"},function(data)
{
alert(data);
})

but did not work

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JSON