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

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

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

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -