September 19th, 2007, 10:31 AM
Whats the easiest way
to insert HTML onto a page on the fly or by request using ajax? Now, I dont mean import an external html file into a div, but I mean, literally import html code (predefined somewhere) and place it on the page. And Id want this to happen infinitely. For example, I want a button on a html page to insert the following: <div>blah</div><div class="ff">ddd</div>etc...
Now everytime I click this button, it will insert that html into the page.
Is AJAx my answer or am I looking at the wrong client-side script?
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!