I have this sample:
https://jsfiddle.net/bac8qdq1/
HTML:
<a id="OpenDialog" href="#">Click here to open dialog</a>
<div id="dialog" title="Dialog Title">
<p>test</p>
</div>
JQuery:
$(document).ready(function () {
$("#OpenDialog").click(function () {
$("#dialog").dialog({
modal: true,
height: 590,
width: 1005
});
});
});
I want that when a user clicks on the link to open, a new window pops up with a text area inside.
I tried the above code, but unfortunately it did not work ... Can you tell me how we should solve this problem? I want the window to open and contain a textarea element.
Here is a solution. Yo can try
Here is the edited jsfiddle https://jsfiddle.net/bac8qdq1/13/