HighDots Forums  

Need help in javacript

alt.html alt.html


Discuss Need help in javacript in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Anubhav star
 
Posts: n/a

Default Need help in javacript - 05-04-2008 , 02:32 AM






How can I make a alpha numberic validation in javascript.

I want that the box should accept both alphabets and numbers..

Reply With Quote
  #2  
Old   
Neredbojias
 
Posts: n/a

Default Re: Need help in javacript - 05-04-2008 , 04:27 AM






On 04 May 2008, Anubhav star <anubhav.jha (AT) gmail (DOT) com> wrote:

Quote:
How can I make a alpha numberic validation in javascript.

I want that the box should accept both alphabets and numbers..
Use concerted effort.

--
Neredbojias
http://www.neredbojias.net/
Great sights and sounds


Reply With Quote
  #3  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: Need help in javacript - 05-04-2008 , 07:49 AM



Anubhav star wrote:
Quote:
How can I make a alpha numberic validation in javascript.

I want that the box should accept both alphabets and numbers..
Javascript question --> Javascript newsgroup.

comp.lang.javascript.



Reply With Quote
  #4  
Old   
frank
 
Posts: n/a

Default Re: Need help in javacript - 05-04-2008 , 06:45 PM



On Sun, 04 May 2008 00:32:03 -0700, Anubhav star wrote:

Quote:
How can I make a alpha numberic validation in javascript.

I want that the box should accept both alphabets and numbers..
Google 'javascript + form validation'. There are plenty copy and paste
examples.

You may also want to look at
http://javascript.internet.com/forms...alidation.html

This site has a lot of great scripts.


Reply With Quote
  #5  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Need help in javacript - 05-05-2008 , 03:48 AM



Scripsit frank:

Quote:
Google 'javascript + form validation'. There are plenty copy and
paste examples.
Most of them worse than crap, of course. Everybody can put up a web page
that presents some HTML markup, CSS stylesheet, JavaScript code, or
something else and example. Everybody often does that, typically with
little clue of anything.

_Especially_ a topic like "alphabets [i.e., alphabetic characters] and
numbers" is _so_ easily mishandled by people who don't even know that
there are different alphabets and different sets of numbers. Moreover,
there's almost always a reason to impose _additional_ restrictions.

Quick test: what happens when "é" ("e" with acute accent) is entered?
Will it crash the form handler, or generate completely bogus data, or
just get rejected as nonalphanumeric (despite being very much
alphanumeric in reality, though not always matching some additional
constraints).

Reading a JavaScript book, consulting JavaScript FAQs (if they still
exist and look reasonable), and eventually asking for specific help in
the specific comp.lang.javascript group would be my way. Everyone is
entitled into choosing his own way and taking a road to the land of bugs
and oddities.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.