How to fix jquery "appendTo:" issue?
I have created aspx page, this page has one jquery dialog and Homepage link button.Before open dialog link button(click) is working, after open and close dialog link button click is not working,no action.
In the dialog box dropdownlist added, it shows text comments from server as per selected items.
I have found the issue in the jquery dialog is "appendTo:", when i comment this line then link button click is working but dropdownlist action not working[again its reset to the original position]. I want both should be working
Please help me out this issue.
- $("#dvLoadDialog").dialog({
- dialogClass: 'dialogCandidateInfo',
- position: 'center',
- appendTo: "form",
- title: '',
- show: {
- effect: 'fade',
- duration: 100
- },
- width: 1000,
- height: 540,
- resizable: false,
- close: function (event, ui) {
- if (event.originalEvent && $(event.originalEvent.target).closest(".ui-dialog-titlebar-close").length) {
- $(this).dialog('destroy');
- }
- else {
- $(this).dialog('destroy');
- }
- },
- closeOnEscape: false,
- modal: true,
- draggable: false,
- resizable: false
- });
- $(".ui-dialog-titlebar").removeClass('ui-widget-header');