Hello everyone! My name is Veselin and i'm php and mysql coder. But now i have big problems with one javascript that i want to create (maybe because i don't understand nothing from javascript :)). I want to create validate form that search for illegal chars. "." "/" "_" "\" ","
My form name: MyJavaScriptFor m
Field that i want to check: MyField
I'm made this..
[CODE=javascript]function check(){
if ( i don't know what ){
alert('There are illegals!');
document.MyJava ScriptForm.MyFi eld.focus();
return false;
}
document.MyJava ScriptForm.subm it();
}[/CODE]
Can you help me please? Thank you!
My form name: MyJavaScriptFor m
Field that i want to check: MyField
I'm made this..
[CODE=javascript]function check(){
if ( i don't know what ){
alert('There are illegals!');
document.MyJava ScriptForm.MyFi eld.focus();
return false;
}
document.MyJava ScriptForm.subm it();
}[/CODE]
Can you help me please? Thank you!
Comment