Welcome Guest, Not a member yet? Register   Sign In
js param...
#2

[eluser]danmontgomery[/eluser]
http://php.net/manual/en/language.types.string.php

Quote:To specify a literal single quote, escape it with a backslash (\). To specify a literal backslash, double it (\\). All other instances of backslash will be treated as a literal backslash: this means that the other escape sequences you might be used to, such as \r or \n, will be output literally as specified rather than having any special meaning.

Code:
'onClick="exportMethod(\'param1\')"';


Messages In This Thread
js param... - by El Forum - 08-12-2011, 06:16 AM
js param... - by El Forum - 08-12-2011, 06:44 AM
js param... - by El Forum - 08-12-2011, 08:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB