I want to assign an onClick action to a button, that will alter the state of an onClick command on a banner advert further down the page.
Managed to change the href of the banner by naming it 'egglink', and giving the button the DOM location -document.all.egglink.href="http://www.egg.com";
But cant figure out if its possible to change the onClick status of the banner using a similar DOM address.
.....am I being a bit vague??:confused:
Hi, onClick does exsist in the DOM. See here (http://www.brainjar.com/dhtml/events/) for more information ;).
Hi, thanks for the info. I can see that the answer is in there, just need a while for my simian brain to take it in:thumbsup: