javascript - When I get data with ajax I cant Post it -
product.php function getdata(getdatafrom, resultclass){ $.get(getdatafrom, function(data) { $(resultclass).html(data); }); } getdata('get.php?action=porsiyondurum2&id=<?php echo $urunid; ?>','#porsiyondurum2'); get.php $action = htmlspecialchars(mysql_real_escape_string($_get['action'])); if($action=="porsiyondurum2"){ $id = htmlspecialchars(mysql_real_escape_string($_get['id'])); $urunporkont = mysql_query("select * porsiyon urunid='$id'"); $urunporkonts = mysql_num_rows($urunporkont); while($urunporkontv = mysql_fetch_array($urunporkont)){ $porid = $urunporkontv['id']; $porname = $urunporkontv['name']; $porucret = $urunporkontv['ucret']; echo '<tr><form action="post.php?action=porguncelle&id='.$porid.'" method="post" targ...