hi
i am in a problem in my javascript and ajax. here is the code.
function delet2(serial,idd){
new Ajax.Request('del.php', {
parameters: $('srl='+serial,'idd='+idd).serialize(true),
});
}
this delet2 function will call a php script named del.php and delete information. but it can not call. i can find the value of serial and idd but it can not cal del.php script.
and here is the del.php script to find the value
if(isset($_POST['srl']) && isset($_POST['idd'])){
$s = $_POST['srl'];
$i = $_POST['idd'];
}
pls help me where is the problem...
ajax to call php script
Started by
agile
, Feb 23 2011 11:32 AM
2 replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users