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!