• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
javascript pass parameter with php value

#1
[eluser]C_Line[/eluser]
<input type="text" id="qtys" value="<?php echo $tot[$i] ;?>">


function sini(kod)
{
window . location = "<?php echo base_url() . "index.php/main/update_link/". kod; ?>";


when redirect, it only print kod
i know something wrong with kod parameter in javascript
thx for replies


Messages In This Thread
javascript pass parameter with php value - by El Forum - 07-03-2012, 12:38 AM
javascript pass parameter with php value - by El Forum - 07-03-2012, 12:48 AM
javascript pass parameter with php value - by El Forum - 07-03-2012, 12:55 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.