ZendDeveloper
Programmer
Hope someone can help.
I have a page that changes depending on various scenarios. In one of these scenarios javascript adds a block of html to the dom and depending on whether a message is set this will then need to contain the contents of the message. Both the block of the html and the message are generated independently so I need to add the message to the newly generated and displayed block of html.
Does anyone know of a way to achieve this. I presume I need to get visibility of the added div id to be able to inject the message into it but have no idea on where to start.
I would prefer to use jQuery to achieve this but any suggestions more than welcome.
Thanks
I have a page that changes depending on various scenarios. In one of these scenarios javascript adds a block of html to the dom and depending on whether a message is set this will then need to contain the contents of the message. Both the block of the html and the message are generated independently so I need to add the message to the newly generated and displayed block of html.
Does anyone know of a way to achieve this. I presume I need to get visibility of the added div id to be able to inject the message into it but have no idea on where to start.
I would prefer to use jQuery to achieve this but any suggestions more than welcome.
Thanks