Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rsacchi

    onclick event problem

    Resolved! I'm not in a HTML, but in a javascript page. Hawever thank for your help. The working line was: linkz.addEventListener('clic',Do,false);
  2. rsacchi

    onclick event problem

    I used BODY tag just for an example. Also if I use: var temp = document.getElementsByTagName('DIV'); still doesn't work :( If I put all the code into a function, and call her by window.onload (or body[0].onload) I've the same result: it pops at the start. Could you try my code just to see if...
  3. rsacchi

    onclick event problem

    It doesn't work in my browser. The javascript console write me: Component not available (at line 13) I get the same error if I write: linkz.onclick = function() { Do(); }; linkz.onclick = function() { Do; }; OR linkz.onclick = function() { alert("Hello"); }; but if I write: linkEsper.onclick...
  4. rsacchi

    onclick event problem

    The code below (userJS code) simply create a link, and If click on that link, it pops up an alert. It seems to work, but have a problem: the alert associated with onclick event pops automatically when the page starts... I really don't know how it may happen... I'm using FF, maybe it's a setting...

Part and Inventory Search

Back
Top