Welcome Guest, Not a member yet? Register   Sign In
Javascript problem
#1

[eluser]C_Line[/eluser]
Code:
echo "< script >
     var res = confirm('Apakah aset barang yang dipilih berhubungan dengan $barang[0] ?')
     if(res == true){
     res = $vidaset;
     }
     </script >";

$vidsub = "[script]document . write(res)[/script]";
echo $vidsub;

the problem is, when i save $vidsub to database it save in char not int
but when i echo , the value is int
i don't want to pass from function

sorry my bad english
thx


Messages In This Thread
Javascript problem - by El Forum - 05-13-2013, 09:15 PM
Javascript problem - by El Forum - 05-14-2013, 05:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB