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 -

c++ - Redefined variable in the other module -

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -