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: *

  • Users: Ziga
  • Content: Threads
  • Order by date
  1. Ziga

    Variable value as parameter

    Hi, I'm sort of new to javascript and I'm having a problem this is my code for(i=1;i<=68;i++){ content+="<p onclick='myf(i)'>Some text</p>"; } What I'm trying to do is that when you click on this text it would send the index of it to function 'myf'. But in the code as I have it above it...

Part and Inventory Search

Back
Top