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 Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.