![]() |
newb in javascript need help
hi, im doing this from a book and its not working what am i doing wrong?
here is my code when i click on the first or second button i get this error getvalue() is not defined or getValueTagName is not defined onclick(click clientX=0, clientY=0) Code:
<html> |
Missing the closing parentheses after
Code:
alert(byid.childNotes[2]);// shows second li itemCode:
alert(link.getAttribute("link");Also - In document.getElementsByTagName you need to have Elements not Element. byid.childNodes instead of byid.childNotes document.getElementById with a capital B |
| All times are GMT. The time now is 01:03 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0