javascript runs only the last click to open a new screen

javascript runs only the last click to open a new screen

  

Hi all,

  I want to display some alerts and I use the RunJavaScript to click on a link to show new popup pages.  However, only the last one appears.  

I checked during debug and 2 ids are used during the processing. At least 2 popup windows should appear. I removed the popup_editor and set the target _blank to the link but the click didn´t work. I would like to show my alerts like post-it.  How can I solve this ?  some idea ?

SyntaxEditor Code Snippet

"$('#"+showPostItLnk.Id+"').click()"

Thanks for any help

Luck

Hello Luciano.

Only the last popup is displayed because it is not possible to have more than one popup open at the same time.

I think that in order to solve this problem you have to make popup information available in a web block and show them through the display: block.