Web Hosting Talk







View Full Version : javascript help


Spunkyz
03-25-2002, 03:23 AM
hello all,

does anybody know where to find a script where it allow u to OnClick play a file name

and submit vote at the same time?

i know how to make the 1st one but dunno how to combine with the vote one...

.eg : when they click at the submit button it play the music as well as voting that music at the same time.


someone care to help?


thanks alot

BradleyT
03-25-2002, 03:47 AM
have your onClick call a function and inside that function do your two or three or twenty four other procedures.

GeorgeC
03-25-2002, 07:04 AM
Yep, something like:

<a href="test.htm" onClick="playsound();submitpoll()">Test</a>

This is assuming you convert the submit poll process to a Javascript function named "submitpoll()"