Ok, this example updates the HTML on the page.

Forms and named sections are the way to go though. You can do some great tricks.