use <html:javascript> which is a gift from html tld and u will get javascript on the fly Googleup for samples
-----Original Message----- From: Gomathi [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 5:37 PM To: Struts Users Mailing List Subject: Re: about javascript no, i have three text fields in my one jsp i want to check these fields if it is empty using java script client side validation <html:text property="title" /> <html:file property="theFile" /> <html:text property="url" /> <html:submit value="Upload Logo" onclick="button2()"></html:submit> in button2() { how to check this empty fields } ----- Original Message ----- From: "Krishna, Hari" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Friday, August 11, 2006 5:10 PM Subject: RE: about javascript >r u going to check for mandatory fields. > > -----Original Message----- > From: Gomathi [mailto:[EMAIL PROTECTED] > Sent: Friday, August 11, 2006 4:45 PM > To: Struts Users Mailing List > Subject: about javascript > > > hai > i am working in struts1.1 > i have threee fields in <html:text> > how to check these empty fields when submitting the submit button using > java script > its very uergent > with kindly regards > gomes > Notice: All email and instant messages (including attachments) sent to > or from Franklin Templeton Investments (FTI) personnel may be retained, > monitored and/or reviewed by FTI and its agents, or authorized > law enforcement personnel, without further notice or consent. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Notice: All email and instant messages (including attachments) sent to or from Franklin Templeton Investments (FTI) personnel may be retained, monitored and/or reviewed by FTI and its agents, or authorized law enforcement personnel, without further notice or consent. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]