Hello
I have the following:
…
:onchange => remote_function(:url => {:action => ‘some_action’}, :with
=> “‘id=’+this.value”, :complete => “var x = eval(’(’ +
request.responseText + ‘)’); $(this).next(’.product_price’).value =
x;” ) %>
If :onchange contains only $(this).next(’.product_price’).value =
“soma value” , it works!!
but, in remote_function :complete it not works!!!
why??
tnks all!