Welcome Guest, Not a member yet? Register   Sign In
Can someone help about form_dropdown() and onChange() in CodeIgniter
#3

[eluser]Unknown[/eluser]
Thank for your prompt reply. Yes!! you are correct that there is something wrong on my JS because there is red crosses on the top right. But as I check is said ""

Code:
Error: SyntaxError: illegal character
Source File: http://localhost/CodeIgniter/mrtg/frm
Line: 1, Column: 6
Source Code:
alert(\

I already change as your comment

Code:
$js = 'id="mrtgCusName" onChange="alert(\\"Hello World\");"';
//There is only one blackslash before double quote. :)

Thank!


Messages In This Thread
Can someone help about form_dropdown() and onChange() in CodeIgniter - by El Forum - 11-19-2012, 03:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB