I'm sure this is possible but I'm not sure how to tackle it...
I have an accordion being used as a left-hand nav bar.
The user clicks one of the links in the accordion nav bar. A form appears and the user fills it out. After it is submitted, a link appears in the nav bar. Clicking this link recalls the data submitted in the form. The user can then choose to edit or delete the contents. If the user chooses to delete it, the link disappears.
My nav bar code looks like this:
<a class='header' href="#part1" title="Part 1">Blah blah</a>
<div id='testdiv'>
<a href='addstuff.php#l1' title="Add stuff'>Add stuff</a>
</div>
The accordion is called here:
$(function() {
var accOpts = {
header: '.header',
navigation: true
};
$('#navCol').accordion(accOpts);
});
After the form is submitted, I'd like a link to appear beneath the "addstuff.php" link. The link will recall the data submitted by the form.
I hope this makes sense. I've spent a couple hours on this but I can't even figure out where to start on this one.
Thanks!