Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2002
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Does onClick exist in DOM

    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??

  • #2
    Regular Coder
    Join Date
    May 2002
    Location
    Maine, USA
    Posts
    574
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi, onClick does exsist in the DOM. See here for more information .
    boxer_1
    CodingForums Moderator
    "How did a fool and his money get together in the first place?"

  • #3
    New to the CF scene
    Join Date
    Aug 2002
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •