Displaying 2 results from an estimated 2 matches for "processform".
2007 Mar 13
3
showResponse() Callback not being called in Firefox
...using the AJAX Object to send form data to a PHP page. In IE, I
am able to get a call back thru the showResponse(); However, in
Firefox, the callback never gets executed. Here is my code:
function showResponse()
{
alert(''Thank You. Your information has been sent'');
}
function processForm()
{
var url = "sendEmail.php";
var name = $F(''name'');
var email = $F(''email'');
var phone = $F(''phone'');
var comments = $F(''comments'');
var pars = ''name=''+ name + ''&email='...
2008 Apr 07
4
Staff Manager tutorial from "Prototype and script.aculo.us" by Christophe Porteneuve
...oggle(elt.up(''li'').id);
return;
}
// Other click. Let''s select if we''re on a valid item!
if (''LI'' != elt.tagName)
elt = elt.up(''li'');
if (!elt)
return;
Staff.select(elt.id);
} // handleTreeClick
function processForm(e, addChild) {
e.stop();
if (Staff.selected && !addChild)
Staff.update($F(''edtName''));
else
Staff.create($F(''edtName''), $(''chkIsGroup'').checked);
} // processForm
document.observe(''dom:loaded'', function()...