[Rails] Re: Link_to onclick -javascript call

2011-03-14 Thread Chandu80
Hi Tim, Sorry for the late reply. Yes the message.chid was causing the problem. Thanks for the response. Regards Chandrika On Mar 10, 5:41 pm, Tim Shaffer timshaf...@me.com wrote: What does the generated source code look like? I'm guessing the value of message.chid might be messing up the

[Rails] Re: Link_to onclick -javascript call

2011-03-10 Thread Tim Shaffer
What does the generated source code look like? I'm guessing the value of message.chid might be messing up the HTML. Also, have you considered using link_to_function instead of using link_to. Might clean up your code a little bit.* * -- You received this message because you are subscribed to