problem with page<<(...)

Hello together,

I want to call my specific JavaScript-Functions in a RJS-File via
"page<<(...)". In Fact my code looks something like this (I am using
Prototype!!):

page<<("new MyFunctions('param1','param1',{ 'objParam1':'a',
'objParam2':'b' })")

A Problem occurs with the third parameter, which is an Object. It
seems that Rails cannot handle it from here, it doesn´t reach
"MyFunction".

Am I making something wrong or are there any solutions for this
problem?

Thanks!

Hmm, I just figured out, that none of the parameters achive the
function in the JavaScript-File. Every parameter is "undefined" ...
why?

I am really sorry, I made a stupid mistake - all works well! This
thread is obsolete!