Hello
I am kind of a newbie at ajax. I have a little table displaying some variables, and listbox which triggers the ajax ->javascript->php page. The table displaying the variables is the placeholder (inside a div tag), the table values change upon selecting values here. The change when selecting from the listbox is displaying an average of the values based on date, when the user enter the page the initial values are displayed.
My problem is when the user select from the listbox the table values change accordingly. But how do I get back to the original content/home of the page? I wish to use the same graphical element/same div tag.
I tried creating a jsscript for going the other way, It worked except that the listbox no longer triggers the ajax..
Darla
Php and ajax problem with getting back to original data in s
Moderator: General Moderators
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
I have tried the select both outside and inside the div. The select appears but with empty values (I use a javascript for loop to list up all 24 hours). I also have a calendar which appears as it should be but when I select a date nothing happens, the function to show average using ajax does not take effect at all.
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact: