PDA

View Full Version : writing javascript using &# char codes?



6arredja
01-15-2007, 02:20 AM
is this possible or is there any other way of writing code without the actual characters but just using code?



onclick=

this will say:
"onclick="

shyam
01-15-2007, 02:42 AM
like this ?

"onclick="

6arredja
01-15-2007, 02:56 AM
yeah i guess i did it that way but the browser interpreted it into text

but is it possible to make functions and methods work that way using there decimal equivalents?

shyam
01-15-2007, 03:02 AM
if you are thinking about obfuscating ur code using this. no. it will not work...browsers need ur code to be as text to interpret it.