On 10/24/06, sw0rdfish [email protected] wrote:
I’m pretty sure that is what I’m after, and I tried using that 100
times, maybe I’m just useless.
How would I go about passing a string using the “with” command?
nicer ways of doing this.
:with => “‘param_name=’ + $(‘dom_id’).value + ‘¶m_2_name=’ +
I believe something like that. I think there are things in prototype.js
assist with this. Serialize on forms may help.
You need a string within a string. The above starts with a " for rubys
sake, then immediately has a single ’ for js. Anything in the single
be a literal for js, and anything just in the double " will be executed
js as a function.