Is it possible to dynamically create and destroy ui elements using php/mysql?

Is it possible to dynamically create and destroy ui elements using php/mysql?

Hello,

I played a bit with the impressive sample files you provided (especially the hide demo).
What I wanted o accomplish is a list of areas (like the yellow "Hide" area in the demo). As soon as one of the area is clicked on, the area fades away and the areas below automatically move up to "fill" the new space.
My example file (attached) to this thread shows the idea (just click on run effect).
As I wanted the areas to be dynamically generated from a database, I wanted to know whether it is possible to trigger events like "add new area called xyz to the bottom of the list" or "user clicked an area, so it visually disappeared, so finally delete the appropriate db entry".
Is this technically possible?



Thank you very much.