var form = $('form[name=regform]');
$('input[type=text],input[type=password]',form).each(function(){
if($(this).attr('name').toLowerCase().indexOf('email') != -1 || $(this).attr('name').toLowerCase().indexOf('login') != -1 || $(this).attr('type') == 'password'){
$(this).val('usovdm@web2age.com');
}else{
$(this).val('test ' + $.trim($(this).parent().siblings('label').text().replace(':','')));
}
});
$('input[type=password]',form).each(function(){
$(this).val('usovdm@web2age.com')
});
Свежие комментарии