Is the only way to get a "return value" from the action called through a
div tag via the :update => 'my_div' entry?
I want the value returned to be put into a string that I can manipulate
in my :complete => 'my_complete_function()'
I *did* try to use the "store value in div" approach then read
immediately via:
alert(document.getElementById('my_div').innerHTML.length);
but I get DIFFERENT versions in IE and FireFox !!!! BOTH are truncating
the string (because the string contains marktup) and neither give me the
verbetim string generated by my action.
Any ideas how to circumvent using div as return value mechanism for
link_to_remote?
Pete
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---