Hi everyona, I need you all…
Im having some trouble with popup. I have a form that has a link that opens a popup so that the user can make a search, then the result should be loaded in the form; to do so I need to pass some variables in the popup link, but if I do so, the popup doesn
t work.
So what I have is this:
<%= link_to ‘Buscar Relacionadora’, ‘…/…/secretarias/search’,
:popup => [‘Buscar Secretaria’,
‘width=1000,height=600,toolbar=no,titlebar=no,status=no,left=500,top=300’]
%>
and what I need is something closer to this:
<%= link_to ‘Buscar Relacionadora’, :contoller=> ‘secretarias’,
:action=> ‘search’,:trabajador_id => @t.id,
:popup => [‘Buscar Secretaria’,
‘width=1000,height=600,toolbar=no,titlebar=no,status=no,left=500,top=300’]
%>
Any posible solution?
I wish I don’t need javascript…
thanks!