coffeescript - Open link in new window - coffescript -


How to get a beef like target = '_ blank' coffeescript?

So far I have tried:

  window.location = "/ site / # {pk} / goto_url /" window.attr ('target', '_blank ')    

You should try

  window .open "/ site / # {PK} / GotoOrl /", "_blank"    

Comments

Popular posts from this blog

c# - Roxy file manager in MVC doesn't accept session path -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

java - Ajax call to jsp and jsp redirecting to further jsp -