hi,
everyting seems ok,but when I click submit button,my dialog box does not close.
I am using ajax within that box.
NOTE: version 401
any idea?
regards,
may
Your ajax code probably needs to clear itself up after the submit. Suggest that if you've done a submit that you do a redirect to the page and let it load from scratch.
could you give me code example?
b. regards,
may
function fn_form_post_invoice_number_edit_form(data) {
if (data.order_id && data.new_invoice_number && data.new_invoice_serial_code) {
var anchorSelector = 'a#invoice_number_edit_link_id_' + data.order_id;
var invoiceNumber = '#' + data.new_invoice_serial_code + '-' + data.new_invoice_number;
jQuery(anchorSelector).html(invoiceNumber).data('invoice_serial_code', data.new_invoice_serial_code).data('invoice_number', data.new_invoice_number);
$.ceDialog('get_last').ceDialog('close');
}
this part does not work,any idea?
regards,
may
}