This is a discussion on "Newbie in Javascript" within the JavaScript Forum section. This forum, and the thread "Newbie in Javascript are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Newbie in Javascript
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Newbie in Javascript
Hello all!
I am starting to use JS a couple of days now and mainly I am interested in using it in form validation and to create pop-ups. I have 2 questions : 1) If a user doesn't have JS enabled, how will I check for empty fields in the form and show an alert box that prompts for corrections? 2) Also, I have seen sites that have the following : There is a link somewhere which works like this : [a] if you have JS enabled, it "recognizes" it and gives a pop-up window when clicked whereas [b] if you don't have JS enabled, it simply acts like a link and opens a new window (not a poup-up one). Because I am a bit confused, I am staring to think that maybe JS causes more problems than it solves... Should a programmer use it or ,for instance, do a form validation in another page and don't count on the user having JS enabled? |
|
|
![]() |
| Tags |
| newbie, javascript |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Newbie to Javascript | dapirates | JavaScript Forum | 5 | Mar 11th, 2008 21:21 |
| newbie javascript problem | c_martini | JavaScript Forum | 10 | Sep 7th, 2007 08:19 |
| Javascript newbie | sehrlund | JavaScript Forum | 6 | Aug 23rd, 2007 18:07 |
| Newbie, Please help with javascript links | lea | JavaScript Forum | 1 | Nov 9th, 2006 14:45 |
| JavaScript Newbie Seeks Guidance | jswebdev | JavaScript Forum | 0 | Dec 5th, 2005 20:44 |