TomT Posted October 6, 2009 Share Posted October 6, 2009 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 ?? Link to comment https://forums.phpfreaks.com/topic/176664-div-submit-data-andor-refresh-div/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.