Re: [PHP] no,no,no,Re: [PHP] HTML_AJAX and formSubmit method - Yes ! But why ?

2006-04-05 Thread Jochem Maas
Georgi Ivanov wrote: I didn't understood what are you saying at first. I don't control the JS code . It is generated from the HTML_AJAX code. The problem was fixed when calling formSubmit method like this : HTML_AJAX.formSubmit(this,target) // No quotes here; target is just a string ! instead

[PHP] no,no,no,Re: [PHP] HTML_AJAX and formSubmit method - Yes ! But why ?

2006-04-05 Thread Georgi Ivanov
I didn't understood what are you saying at first. I don't control the JS code . It is generated from the HTML_AJAX code. The problem was fixed when calling formSubmit method like this : HTML_AJAX.formSubmit(this,target) // No quotes here; target is just a string ! instead of : HTML_AJAX.formSu

Re: [PHP] HTML_AJAX and formSubmit method - Yes ! But why ?

2006-04-05 Thread Georgi Ivanov
> does the following make it work? ... Yes it did ! But why ? I'm passing string ... not variable... I don't understand > > Georgi Ivanov wrote: > > ... > > > formSubmit: function (form, target, customRequest) > > { > > if (typeof form == 'string') { > > form = documen

Re: [PHP] HTML_AJAX and formSubmit method

2006-04-05 Thread Jochem Maas
does the following make it work? ... Georgi Ivanov wrote: ... formSubmit: function (form, target, customRequest) { if (typeof form == 'string') { form = document.getElementById(form); if (!form) { // let the submit be processed normally