ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
AjaxDropdown and Lookup how to use javascript to set value
Title:
B
I
{code}
?
@Html.Awe().AjaxDropdown("txtRole").Url(Url.Action("GetRoles", "USERS")) @Html.Awe().Lookup("txtUSERID").Controller("USERS").ClearButton(true) I tried this js code to change the value: $('#txtRole').val(""); $('#txtUSERID').val(""); But No effect!!
Save Changes
Cancel
RayBen
asked at 16 Apr 2024
try this: https://www.aspnetawesome.com/learn/mvc/General#Getting-and-setting-value
at 16 Apr 2024
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK