Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] required entry field
- From: Michael_Dougherty at PBP.com (Michael Dougherty)
- Subject: [Javascript] required entry field
- Date: Fri Mar 28 11:47:21 2003
I was wondering that myself If the answer is "best practice" of passing an object to the procedure, then i would also caution that using keywords as variable names (form, input, especially bad: submit, etc.) should be avoided as a general rule... -----Original Message----- From: javascript@xxxxxxxxxx [mailto:javascript@xxxxxxxxxx] Sent: Friday, March 28, 2003 11:27 AM To: javascript@xxxxxxxxxx Subject: Re: [Javascript] required entry field Thanks, Rodney. Now,I would like to ask a question on what 'form' stands for? Also are you sugesting that my script will not work faster than your's, or, that my script will not work at all? Bekim >>From: Rodney Myers <rodney@xxxxxxxxxxxxxxxx> >>Reply-To: "[JavaScript List]" <javascript@xxxxxxxxxx> >>To: "[JavaScript List]" <javascript@xxxxxxxxxx> >>Subject: Re: [Javascript] required entry field >>Date: Fri, 28 Mar 2003 10:11:19 +0000 >> >>That would be ..... >> >>function isValid(form) { if(form.NeverBlank.value=='') >> { >> form.NeverBlank.focus() >> } >>} >> >>hth >>Rodney >> >> >> >>BEKIM BACAJ wrote: >> >>>Einstein went mad when he heard that somebody wrote SF novel about a >man >>>who traveled with the speed of light and saw the batle of Waterloe, for >it >>>is insaine he yelled. >>>But 'you' can init the new battle at Waterlloe again >>> >>>function isValid() { if(NeverBlank.value==''){ >>> NeverBlank.focus() >>> } >>> } >>> >>>dejavoo - loops forever - if the user does not supply some chars! >>> >> >>-- >>PS. I have just bought a licence for Mike Chen's >>BizAutomator. If you have to answer routine email queries from your >sites >>or mailings then >>you need this as much as I do. http://www.BizAutomator.com/rlbm51 >> >>Rodney >> >> >> >> >>_______________________________________________ >>Javascript mailing list >>Javascript@xxxxxxxxxx >>https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ Javascript mailing list Javascript@xxxxxxxxxx https://lists.LaTech.edu/mailman/listinfo/javascript
- Prev by Date: [Javascript] form validation script
- Next by Date: [Javascript] form validation script
- Previous by thread: [Javascript] required entry field
- Next by thread: [Javascript] required entry field
- Index(es):