maya90
02-15-2010, 09:51 PM
get error on this script:
http://www.javascriptkit.com/javatutors/selectcontent2.shtml
if I put JS code in <head>.. as soon as I load pg (and when call function):
document.classic is undefined
in the real world JS code should be in a separate js file, linked to from <head>, no??? ;-)
thank you..
http://www.javascriptkit.com/javatutors/selectcontent2.shtml
if I put JS code in <head>.. as soon as I load pg (and when call function):
document.classic is undefined
in the real world JS code should be in a separate js file, linked to from <head>, no??? ;-)
thank you..