JQuery simple modal + asp.net

I have jQuery simple modal with a text field and a link, when the link button click event occurs, and I'm trying to get the value of the text field in that the code behind it is empty.

Any ideas?

+3
source share
1 answer

You must ensure that the modal window is added inside the form tag instead of the body tag.

http://www.ericmmartin.com/projects/simplemodal/#options

  • appendTo [String: 'body']

JQuery selector to add items to. For ASP.NET use the "form".

+5
source

Source: https://habr.com/ru/post/1720062/


All Articles