Hi all,
When I execute the following RJS code:
page['inline-help'].style.color = "'#ff0000'"
I get this error:
RJS error: [Error: name: TypeError message: Statement on line 4: The Object does not implement [[Call]] Backtrace: Line 4 of eval script $("inline-help").style().color = "'#ff0000'"; Line 940 of linked script http://localhost:3000/javascripts/prototype.js?1196511586 this.evalResponse(); Line 881 of linked script http://localhost:3000/javascripts/prototype.js?1196511586 this.respondToReadyState(this.transport.readyState); Line 71 of linked script http://localhost:3000/javascripts/prototype.js?1196511586 return __method.apply(object, args.concat($A(arguments))); At unknown location [statement source code not available] ]
Any ideas what is probably causing this and how I can fix it?
Thanks in advance,
Altu
Regards
Altu
View this message in context:
http://www.nabble.com/RJS-TypeError-tf4928414.html#a14105937
Sent from the RubyOnRails Users mailing list archive at Nabble.com.