Please suggest how to implement sending data from the dialog box to the page from which this dialog box was opened. Naturally without updating the page.
1 answer
Try to hang up the event handler when sending information (click, loss of focus from the element). When processing this event, add the necessary information to the required place in your document. It may look something like this:
$('.processed_item').on('click', function(){ $('insert_element').val($('.elem_with_text').val()); $('.this_popUp').remove(); }); |