%>
<%= include('/elements/xmlhttp.html',
- 'url' => $action,
- 'subs' => [ 'start_job' ],
+ 'method' => 'POST',
+ 'url' => $action,
+ 'subs' => [ 'start_job' ],
)
%>
<SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws.js"></SCRIPT>
function <%=$key%>process () {
+ //alert('<%=$key%>process for form <%=$formname%>');
+
document.<%=$formname%>.submit.disabled=true;
overlib( 'Submitting job to server...', WIDTH, 432, HEIGHT, 136, CAPTION, 'Please wait...', STICKY, AUTOSTATUSCAP, CLOSETEXT, '', CLOSECLICK, MIDX, 0, MIDY, 0 );
)
{
if ( field.type == 'select-multiple' ) {
+ //alert('select-multiple ' + field.name);
for (var j=0; j < field.options.length; j++) {
if ( field.options[j].selected ) {
+ //alert(field.name + ' => ' + field.options[j].value);
Hash[x++] = field.name;
Hash[x++] = field.options[j].value;
}
// jsrsPOST = true;
// jsrsExecute( '<%= $action %>', <%=$key%>myCallback, 'start_job', Hash );
+ //alert('start_job( ' + Hash + ', <%=$key%>myCallback )' );
+ //alert('start_job()' );
start_job( Hash, <%=$key%>myCallback );
}