Topic: onLoading and
Hello everyone.
i hope this topic hasn't been discussed already, i did a search with no results
the problem i have is the following:
i have an invoice that has many invoice rows, all in a view.
I want to do an ajax elaboration onchange on a select inside a row, and disable the select while the request is loading
the big problem is that using helper :loading for remote_functions, the "this" variable refers to the window, and not to the element, as wonderfully explaned here: http://www.quirksmode.org/js/this.html.
because it is a row, it can't have a fix identifier, so i can't get it by id.
How do you think i could resolve the problem?
thank you in advance
Marco
Last edited by vecchiaspugna (2010-06-22 13:36:28)