ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
How to call document.ready when the create or edit popup loads
Title:
B
I
{code}
?
Hi I am trying to call some javascript functions when add or edit partial view is loaded. How to achieve that , also If I try any work around like calling javascript on btn click then also I am unable to do it as Javascript function is called first and DOM loads later. Please help in achieving this
Save Changes
Cancel
Tanuj Shrivastava
asked at 11 Jul 2016
Answers
B
I
{code}
?
you can just put the js function call in the html content of the view that is being loaded, or you can use the .OnLoad http://demo.aspnetawesome.com/PopupFormDemo#Submit-confirmation-using-OnLoad-func
Save Changes
Cancel
Omu
answered at 11 Jul 2016
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