iam working on asp.net mvc.
my problem is when we refresh page and when we click reset button it needs to focus on first textbox. please help me
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Anupam SinghPosted Jun 6, 2014, 3:05 AM
put this inside script tag in your view
$(function(){
Shweta LodhaPosted Jun 6, 2014, 3:01 AM
http://stackoverflow.com/questions/2951405/how-do-i-set-focus-to-a-text-box-html-textboxfor-mvc-2
Lakshmanan Sethu SankaranarayanPosted Jun 5, 2014, 7:35 AM
pls check if it helps
http://stackoverflow.com/questions/7856629/set-focus-on-a-textbox-mvc3