Thread: onclick event
View Single Post
  #1 (permalink)  
Old April 10th, 2004, 11:46 PM
pigtail pigtail is offline
Authorized User
 
Join Date: Apr 2004
Location: , , .
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to pigtail Send a message via Yahoo to pigtail
Default onclick event

When I use onclick to execute a javascript:myfunctionname(), can I have more statements separated by a semi-colon after the colon or am I limited to only one statement after the colon?

If I want to pass an array, can I insert the array name between the ()? Sorry, I have asked this question in another entry. I didn't think of this possibility until now.

If I want to execute an ASP for my onclick and pass a string like "abc, efgh, ijklm", do I need a single quote around my values? What is the proper syntax?

Reply With Quote