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# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

sql - PostgreSQL automatically update row at specific date -

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