I am using jquery colorbox plugin as my popup/modal dialog box solution
in my site. When I give a js response to client, I want to open a popup
modal dialog box as the response. I wrote the following code in my
response1.js.erb just to test the creation of popup box

$.colorbox();

I am getting the Javascript response correctly from server but while it
is getting executed on the browser, firebug reports error like

$.colorbox() is not a function

how else can I do the task? please help. All my related
javascripts(jquery,colorbox) are getting loaded properly when the page
loads (i checked the page source html file)
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to