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

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 -

runtime error - Cannot find an overload for op_subtraction when subtracting datetime from datetime in powershell -