I need help setting focus to an @Html.TextBoxFor in my MVC.Net application
Hi Experts,
I need help setting focus on a pageload to an @Html.TextBoxFor in my MVC.Net application.
How can I do this? Here is my @Html.TextBoxFor code below (in a view).
Thank you,
mrotor
.NET MVC.NET Programming
Last Comment
mainrotor
8/22/2022 - Mon
Lokesh B R
Hi,
You can set the focus using the jQuery as follows.
You can set the focus using the jQuery as follows.
Open in new window