Re: [PHP] Re: calling javascript function from a form image

2001-09-24 Thread Neil Freeman
Yeah thanks, I've done something along the lines of what you've provided and it works great. Thanks for your help. Chris Lee wrote: > this isnt reallt a php question but I'll answer it anyhow because Ive been > stuck with netscapes incompatabilities before. do this. > > onsubmit="set_category()

Re: [PHP] Re: calling javascript function from a form image

2001-09-21 Thread Christian Dechery
At 09:29 21/9/2001 -0700, Chris Lee wrote: >this isnt reallt a php question but I'll answer it anyhow because Ive been >stuck with netscapes incompatabilities before. do this. > >onsubmit="set_category()"> onSubmit is not an event for the input type image... it is for the tag... it should look

[PHP] Re: calling javascript function from a form image

2001-09-21 Thread Chris Lee
this isnt reallt a php question but I'll answer it anyhow because Ive been stuck with netscapes incompatabilities before. do this. if that doesnt work you'll have todo this. function set_category() { alert("category set"); document.formMoviesSearch.submit(); } ... or if you want the h