Hi. Could somebody please tell me like step by step (if possible) what this function is breighly saying. Ive searched the internet and i couldn't find anything in this form. What i know so far is pretty much what Ajax is suppose to do as a whole, everything else i am clueless about (when dealing w/ Ajax). Thank you for any help:
function submitPassword() {
var param = 'ACTION=' + \$F('action') +
'&PASSWORD_NAME=' + encodeURIComponent(\$F('pass_name')) +
'&PASS_KEY=' + encodeURIComponent(\$F('passKey'));
var url = "/Password/passSubs.pm";
var ajax = new Ajax.Updater (
{success: 'main_page'}, url,
{method: 'get', parameters: param,
onSuccess: printNumSys,
onFailure: reportError}
);
window.opener.startTimer();
}
(I know that reportError and printNumSys are functions made by whoever made this program, and 'main_page' i believe is a <div ...> name)
function submitPassword() {
var param = 'ACTION=' + \$F('action') +
'&PASSWORD_NAME=' + encodeURIComponent(\$F('pass_name')) +
'&PASS_KEY=' + encodeURIComponent(\$F('passKey'));
var url = "/Password/passSubs.pm";
var ajax = new Ajax.Updater (
{success: 'main_page'}, url,
{method: 'get', parameters: param,
onSuccess: printNumSys,
onFailure: reportError}
);
window.opener.startTimer();
}
(I know that reportError and printNumSys are functions made by whoever made this program, and 'main_page' i believe is a <div ...> name)