Alexandre,
You should be able to simply test the folder name string against a regular
expression.
More info:
http://www.regular-expressions.info/javascript.html
http://www.websina.com/bugzero/kb/regexp.html
HTH,
SEAN O
http://www.sean-o.com
Alexandre Plennevaux wrote:
hello!
: [jQuery] generate folder name
Alexandre,
You should be able to simply test the folder name string against a regular
expression.
More info:
http://www.regular-expressions.info/javascript.html
http://www.websina.com/bugzero/kb/regexp.html
HTH,
SEAN O
http://www.sean-o.com
Alexandre
).val(newFolder);
});
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean O
Sent: jeudi 8 mars 2007 18:37
To: discuss@jquery.com
Subject: Re: [jQuery] generate folder name
Alexandre,
You should be able to simply test the folder name
hello!
i am creating a form where user enters the name of a new project. First field
is title, the second one is project folder name.
I would like to proposed a failsafe folder name from the project title.
Can somebody provide me with a good idea on how to generate a secure folder
name out of