Lightbox issue

Hello friends,

I m using lightbox in my rails application. After clicking on a link,
lightbox opens but my problem is

when user goes on pressing enter without clicking on a lightbox window,
multiple lighboxs open.

How to prevent this.

any suggestions are greatly appreciated.

below is my code…

<% if @file_currency %><%=link_to "#{@file_currency.currency}"+"#{number_with_precision(@revenues,2)}",{:action=>"exchange_currency", :id =>, :revenue => @revenues},:class => 'lbOn' %><% end %>

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs