I'm working on a website right now that is using CherryPy. I'm doing everything by stages, so I have one stage for the actions, one stage for the objects, one stage for the relationships, and one stage for the themes. Cherrypy allows you to fade between these without reloading pages.
The problem I'm having right now is I'm trying to add the theme stage. The problem is, all the other ones are designated by a textarea, here is the html:
Now, what I need to do is when the theme stage is called, change the textarea to a list of check boxes that I'm pulling from a mysql table. Here is what the syntax looks like for the changing stages function, and the code for dynamically changing the next button, I figure it has to be something similar:
At the bottom there, inside the last else statement, where I do the .html conditional, I figure I can add something else to change the textarea into this mysql list of check boxes.