Javascript Query

Associate
Joined
3 Oct 2006
Posts
2,304
Location
London
Hi there,

Just wondering you can do a:

document.getElementById("next").src

but can you do a:

document.getElementById("next").onclick

to change the onclick event of an element on the fly?
 
Back
Top Bottom