I am trying to dynamically add a tab using the append method, but I cant get any of the imageHtmlAttributes to get inserted into the html.
Here is my code:
However the onclick is never added.
Here is my code:
tabStrip.append( [{ text: tabText, content: "<iframe style=\"width:100%\" src=\"" + url + "\"></iframe> ", imageUrl: "/Images/dialog_close_button.png", imageHtmlAttributes: { "onclick": "closeTab($(this).closest(\"li\"));" }, collapsible: true }]);However the onclick is never added.