Hi
I've create a web page that has a simple drop down list.
When you select the user from the list, the details on that user are shown in a DIV within the same page.
This is done using an AJAX script.. (http://www.aleixcortadellas.com/main/2009/03/01/ajax-post/)
This all works well.
Against the data that is returned I want to add a hyperlink or button that allows me to remove that specific bit of data.
I can do the deleting, but it the submitting this link or button back to the same page / DIV so I don't end up with a new page opening I can't sort.
If I use a Hyperlink it will be something like :
<a href="do.php?id=<?=id?>&user=<?=$user?>" onCLick="return confirm('Remove setting from user ?')">remove</a><br />
Any one help me with this ??