AJAX response xml not working

jspcodes

New Member
Messages
60
Reaction score
0
Points
0
i have designed a form using AJAX it has three inputs
first select input
second select box (by using simple ajax)
other input boxes (by using ajax response xml)

The first ajax works well but the second ajax response xml is not working x10hosting.com but it runs fine in my apache local server. There is no problem with the code because i have copied it from xml. Remember it is works in my system.

What should i do to make it work. I am using Intermediate PHP version.(on the advice of x10 member i upgraded but still having problems). Now what should i do to make it work correct?

The page is here
http://jspcodes.elementfx.com/books/updatebook.php

I am building some live project. Please help me soon.
 

VPmase

New Member
Messages
914
Reaction score
1
Points
0
Every time I choose something from the second drop down menu I get an alert message giving me a number 1-10. Is that the value(s) returned from the AJAX PHP file?
 

woiwky

New Member
Messages
390
Reaction score
0
Points
0
You need to fix the code causing the warnings here:

http://jspcodes.elementfx.com/books/responsexml.php?q=8

An xml document can't have anything outside of the root element aside from processing instructions, so that output can't be parsed. You may have warnings suppressed in your local php configuration which would explain why it works fine on your computer.
 
Top