I have multiple users in my application. In the list of users, every user has a button for data submission. Data will be submitted in pop up. I have to use jquery to generate popup and jquery-json combination to save data in database.
Can I use single popup click on multiple buttons? Please suggest me.
e.g.
<table width="98%" border="0" cellspacing="2" cellpadding="2" bgcolor="#efead8" style="border:#FFCC00 1px solid;">
<tr><th bgcolor="#cccccc" align="right"> S.No. </th><th bgcolor="#cccccc" align="left"> Client </th><th bgcolor="#cccccc" align="center"> Cost List </th><th bgcolor="#cccccc" align="center"> Action </th><tr>';
foreach($arrclient as $k => $v)
$strPrint.='<tr><td align="right"> '.++$i.' </td><td align="left"> '.$v.' </td><td align="center"> Cost List </td><td align="center"> <input type="button" name="new_ci" id="new_ci" value="New cost list" /> </td><tr>';
$strPrint.='</table>';
Thanks in advance.
1 Answer