Hi, I want to build a simple jquery-powered web application and I was hoping I could get some advice.
The app: 1. User submits form data to server side script. 2. Server side script generates a CSS "page" and an HTML page. Note: the HTML will just be a bunch of divs. 3. jquery ajax loads the generated CSS/HTML into the head/body. 4. User has option to repeat steps 1 through 3 and add more HTML/CSS to the page. What would be the best way to link to the newly generated CSS page? Should I just append CSS links to the <head>, or would it be best to just load each newly created style into a <link> tag? In terms of the generated HTML, should I format it in any special way (JSON)? Would a simple load() be an acceptable approach to appending HTML to my app's body? Any tips/feedback would be great! TIA! Cheers, Micky