On Sun, Dec 9, 2012 at 10:55 PM, avinash behera
<[email protected]> wrote:
> Should we use javascript ot jquery to achieve this?
link_to(:link, :title => "Link Title", :onclick =>
"javascript:(function(ele) { window.open(ele.href, ele.title,
'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes')
})(this); return false;")
--
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 https://groups.google.com/groups/opt_out.