jquery - RequiredfieldValidator not working for all controls on button click if onblur event is set for textbox -
i have form in have 5 asp textboxes , have taken 5 requiredfieldvalidator each. each textbox have set event onblur="validatoronchange(event);"
make requiredfiedvalidator
validate control on lost focus of each.
i have set jquery document.ready() event focus on first text box.
having command button
have set casusesvalidation
property true , each textbox
, validator
, command button
have same validation group
.
now problem facing is, on click
event of command button
, validation error message displaying first text box only. should displayed each textbox on click event of button while single textbox on lost focus of specific textbox.
i facing in chrome , safari only. not in ie firefox.
any solution??
thanks.
try using onchange-event in place of onblur event
Comments
Post a Comment