I have a form that has some javascript functions on it.
function playmovie() {
if (movieIsLoaded(thisMovie(movieName))) {
thisMovie(movieName).Play();
}
I can call the above function using standard html as follows:
<input TYPE="BUTTON" VALUE="Play" ONCLICK="Playmovie()">
Works great!!!! However, when I change the html input type to image the screen just refreshes and none of the buttons work.
<input TYPE="IMAGE" SRC="IMAGES/play.gif" ONCLICK="playmovie()">
Note: The above code is suppose to work clientside. I can post the entire aspx if needed.
CodeJunkie
Member
267 Points
56 Posts
html input type problem
Oct 31, 2003 04:35 PM|LINK
function playmovie() { if (movieIsLoaded(thisMovie(movieName))) { thisMovie(movieName).Play(); }I can call the above function using standard html as follows: Note: The above code is suppose to work clientside. I can post the entire aspx if needed.CodeJunkie
Member
267 Points
56 Posts
Re: html input type problem
Oct 31, 2003 08:03 PM|LINK