RE: [PHP-DEV] javascript not working with php

2002-06-11 Thread Ford, Mike [LSS]
> -Original Message- > From: Anil Garg [mailto:[EMAIL PROTECTED]] > Sent: 11 June 2002 15:01 > > Hi, > In a form i have two elements: > > I > > > II > > > > > Now i want to show an alert message(using javascript) if the > text field is > empty or no option is selected

[PHP-DEV] javascript not working with php

2002-06-11 Thread Anil Garg
Hi, In a form i have two elements: I II Now i want to show an alert message(using javascript) if the text field is empty or no option is selected from categories list. For the text field its working fine as below (the javascript method called when onsubmit method is called):