This topic contains 2 replies, has 2 voices, and was last updated by infocurci 9 years, 4 months ago.
- Topic
Hello,
I need to create a Ui button that open his link to new window.
I tried this code:123456789{{ UI.button({'path' : path(... my path ...),'label': '... my label ...'|trans,'title': '... my title ...'|trans,'iCss' : 'icon-print','aCss' : 'newWindow'}) }}and this jquery:
123$('.newWindow').attr('target','_blank');but it can’t work because the “a” attribute is already managed by other script.
How I can set the “blank” attribute?
thanks!
The forum ‘OroPlatform – HTML, JavaScript, CSS, Design Questions’ is closed to new topics and replies.