Dongzhi Yang7528784
Posts: 0
Joined: Mon May 11, 2015 6:28 am

How to create dynamic Jquery popup

Dear Team,

When I using Jquery popup, I found that , a Popup component has to be set up on the page in design time.

This is troublesome, because I have potentially put a Popup component on every page.

Is there a way to allow creating Jquery Popup dynamically with Javascript?

Thanks

Dongzhi

Jack Bua
Posts: 0
Joined: Sun Jun 28, 2015 10:16 pm

How to create dynamic Jquery popup

I do not think that is how JS should be used. It is my understanding that HTML is for creation and JS is for manipulation.

You can however, set up all of your popup's components in one grid cell and then save that grid as a custom component. Should make recreating that popup much faster on your other pages.

Kapow36
Posts: 0
Joined: Thu May 23, 2013 4:07 pm

How to create dynamic Jquery popup

You can append any html to a page using javascript. For example, with a page load event, I could write the code to append any html element to the mobile container:

Apperyio('mobilecontainer').append($("< p just some text but could be any html< /p ")); (if you copy and paste this code remove the spaces in the tag)

Return to “Issues”