In order to make it work, you have to call the jQuery from the parent, not from within the iframe. To do this, use the following…
window.parent.jQuery('#upload-form').dialog('close');
That should do it!
More Related Contents:
- How to display an IFRAME inside a jQuery UI dialog
- How to remove close button on the jQuery UI dialog?
- How to close jQuery Dialog within the dialog?
- jQuery UI Dialog Button Icons
- Correctly calling setGridWidth on a jqGrid inside a jQueryUI Dialog
- How can I disable a button on a jQuery UI dialog?
- How to use radio on change event?
- jQuery Date Picker – disable past dates
- Find out whether radio button is checked with JQuery?
- Detecting no results on jQuery UI autocomplete
- Revert a jQuery draggable object back to its original container on out event of droppable
- jQuery UI Autocomplete widget search configuration
- JQuery ui – date picker, disabling specific dates
- jquery ui Dialog: cannot call methods on dialog prior to initialization
- Unobtrusive validation in Chrome won’t validate with dd/mm/yyyy
- Form Submit jQuery does not work
- jQuery UI autocomplete with JSON
- How to implement “mustMatch” and “selectFirst” in jQuery UI Autocomplete?
- jQuery multiselect drop down menu
- jQuery UI Slider Labels Under Slider
- jQuery UI Datepicker enable only specific days in array
- How to attach callback to jquery effect on dialog show?
- Combined total for multiple jQuery-UI Sliders
- Jquery datepicker – only day and month
- jQuery Sortable – drag and drop multiple items
- Jquery Date picker Default Date
- How do you trigger autocomplete “select” event manually in jQueryUI?
- How can I add jquery ui autocomplete to a dynamically created element?
- jQuery – draggable images on iPad / iPhone – how to integrate event.preventDefault();?
- Jquery UI tooltip does not support html content