![]() |
Weird javascript error
Hi, I'm relatively new to RoR programming. I'm trying to integrate some of my rails code in a javascript function that is added at the end of an .each loop, and right now I'm getting a "missing } after property list" error only on the last one called. If I remove the RoR stuff and leave it as a simple text string, it works fine for all of them. Here is my code:
Code:
("#popup_<%= i %>").SetBubblePopup({Code:
<ul class="subcats"> |
i think ur missing the curly braces between the code . thoroughly check ur code and do experiment with the code to see which one works. you can visit my site which is developed with ruby on rails for more information. http://www.orangegigs.com
|
| All times are GMT +1. The time now is 04:52 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.