Topic: Suggestion for the next getFormValues

I would like to suggest for the next version that the function getFormValues can accept a Object as parameter. I believe just a a simple code as :

if (typeof parameter == 'object')
     formid =;
it will allowed to use functions as: onclick="xajax_functionwanted(xajax.getFormValues(this);"

Is it nothing different as onclick="xajax_functionwanted(xajax.getFormValues('formid');"  ?

Just asking...

2 (edited by flemingfactor 2014-03-05 11:23:21 PM)

Re: Suggestion for the next getFormValues

I think the "this" would resolve to the button and not the form.  However it is a good suggestion to be able to default to the form you are in.