SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
-
Jul 9, 2007, 04:02 #1
- Join Date
- Sep 2001
- Posts
- 43
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Sortable List / Data No Longer Sortable
Hey Guys,
My script is the same as this http://www.w3schools.com/php/php_ajax_database.asp
When the data comes back to me its using
document.getElementById("txtHint").innerHTML=xmlHttp.responseText
I get the data back fine. However inside getuser.php my data is in a sortable list. If i use this code above. My data comes back but I can no longer sort my list and move things around (I'm guessing because its returned as HTML only). Can anybody give me a solution of what i need to change so my list is also sortable again?
-
Jul 9, 2007, 15:49 #2
- Join Date
- Sep 2001
- Posts
- 43
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
i guess im doomed no body has an answer
-
Jul 9, 2007, 19:54 #3
- Join Date
- Jul 2007
- Posts
- 18
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
1. wat do u mean by the data gets back fine? wat r getting back? a table?
2. wat do u mean by "inside getuser.php my data is in a sortable list" ... if u use php, it is a server script it wont allow u to do sorting on client side... if u use javascript to sort in getuser.php.. hv u include the same javascript in the "get back page" ?
-
Jul 10, 2007, 06:33 #4
- Join Date
- Sep 2001
- Posts
- 43
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I'm using ajax to get the file AND im using ajax to make the data it returns sortable. Im getting the data back in bullet points but of course no javascript functionality
Bookmarks