Orionsbelter Posted March 23, 2010 Share Posted March 23, 2010 Hi there i'am have a bit of a issue with the script i'am using. The idea is i click a image and it sends off a change to the database using the XMLHttpRequest however when i try using. document.getElementById("rep_"+str).innerHTML=xmlhttp.responseText; to put the reponse text in a unqiue div it does not!. The program i have here is simply a fourm the image i said i'm clicking a delete reply icon. i want that to then change to deleted reply to some text such as "Deleted by admin" that is why i wanted update the reply on screen with the reponse text without refreshing. The div is inside many other divs does this matter? thank you for reading Link to comment https://forums.phpfreaks.com/topic/196267-help-with-xmlhttp-and-divs/ Share on other sites More sharing options...
trq Posted March 24, 2010 Share Posted March 24, 2010 You might want to post some relevant code. Link to comment https://forums.phpfreaks.com/topic/196267-help-with-xmlhttp-and-divs/#findComment-1030925 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.