maroon
unread,Apr 11, 2012, 9:32:20 PM4/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to boxy-...@googlegroups.com
I ahve the following code
and i want to open boxy at the end
where dlgopen(url, '_blank', 700, 500);
currently its opens browser window
but how do i open the boxy modal here
my code
$('#create').click(function() { submitme(); });
var submitme = function() {
top.restoreSession();
var f = document.forms[0];
if (validate(f)) {
if (force_submit) {
// In this case dups were shown already and Save should just save.
f.submit();
return;
}
// Build and invoke the URL to create the dup-checker dialog.
var url = 'new_search_popup.php';
var flds = new Array(<?php echo $mflist; ?>);
var separator = '?';
for (var i = 0; i < flds.length; ++i) {
var fval = $('#form_' + flds[i]).val();
if (fval && fval != '') {
url += separator;
separator = '&';
url += 'mf_' + flds[i] + '=' + encodeURIComponent(fval);
}
}
dlgopen(url, '_blank', 700, 500);
} // end if validate
} // end function