Bruce McKenzie wrote:
> function validateNHSOwithAjax(myInput){
> $('#someHTMLContainer').load(
> 'myWebApp.cgi',
> {
> rm : 'validate_nhso',
> itemToValidate : myInput
> });
> }
Just for balance, this is the equivalent in Prototype
new Ajax.Updater(
{ success: 'someHTMLContainer' },
'myWebApp.cgi',
{
parameters: {
rm: 'validate_nhso',
itemToValidate: myInput.value
}
}
);
Very similar.
--
Michael Peters
Developer
Plus Three, LP
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]