Autor Wiadomość
ghdhair100
PostWysłany: Śro 9:49, 02 Mar 2011    Temat postu: js..

function IsDate(obj){
var str = obj.value;
alert(str);
if(str.length!=0){
var reg = /^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2})$/;
var r = str.match(reg);
if(r==null)
alert('****');
}
}Many years ago there lived an Emperor who was so exceedingly fond of fine new clothes that he spent vast sums of money on dress. To him clothes meant more than anything else in the world. He took no interes
related links:


笔记本变慢怎么办 手把手教你不求人

Powered by phpBB © 2001,2002 phpBB Group