Re: AJAX FTW!!!
Heh, I was just thinking about this a bit earlier. Right now my AJAX handler only spits out some html (element.innerHTML), no DOM... Generated by PHP and thats about it.
I was playing around with the Google Maps API and realized a huge limitation in this method. Maybe you can help me with this....
The ultimate goal here is when a customers information is put in, a google map is created with an automatic route to that address from dispatch will be created. As of now, all it does is center on the map based on the zips lat/long coordinates, which is a plain text property coming from the fxhr.responseText...
Let me see how this could work.....
User input >> XMLHttpRequest (fxhr) >> PHP Script (Make JSON output in plain text and send to fxhr.responseText) >> js script, parse JSON into DOM >> output to targeted elements via JS.
Please tell me if I'm going in the right direction.
Intel QX9650 @ 3.83GHz ∙ XFX 780i ∙ eVGA GTX 560Ti ∙ 8GB GSkill DDR800 ∙ Creative Sound Blaster X-Fi Titanium PCI-E ∙ Seagate 1.5TB . 4x Samsung 2TB
Originally Posted by MowTin
....it's so clear how government makes things worse not better...