Welcome Guest, Not a member yet? Register   Sign In
Javascript onChange not working in xhtml
#11

[eluser]Yorick Peterse[/eluser]
Code:
echo "<sscript  language='javascript' type='text/javascript'>";
echo "document. write('JS in body');";
echo "</sscript>";

Those tags don't even exist.
#12

[eluser]Jason Tan Boon Teck[/eluser]
[quote author="Yorick Peterse" date="1257281992"]
Code:
echo "<sscript  language='javascript' type='text/javascript'>";
echo "document. write('JS in body');";
echo "</sscript>";

Those tags don't even exist.[/quote]

If you meant the misspellings, it was written deliberately so that it doesn't get censored by the forum app.

I'm curious why a simple document. write() also could not display in my page, whereas allert() works.
#13

[eluser]tobben[/eluser]
if(jQuery)....


change will not work in The Internet Rapist 6/7/8. Use click instead.
#14

[eluser]Jason Tan Boon Teck[/eluser]
[quote author="Arun Kris" date="1257271700"]simply add the id attribute to the <select element> Smile[/quote]


Arun, I followed your advise and id'd the elements. It now works.

Thank you.




Theme © iAndrew 2016 - Forum software by © MyBB