When we use AJAX for validation the response comes through xml file and in case of javascript the response comes through html page.
Is it true or false ? please explian both the cases.
When we use AJAX for validation the response comes through xml file and in case of javascript the response comes through html page.
Is it true or false ? please explian both the cases.
actually Ajax is nothing but a term to describe what is happening, the response comes as an xml or html depending on what you want it to return, it is a string that ajax returns, in Javascript it is up to you what to do with that string, want to parse it as XML node? want to display it immidiately in an element "innerHMTL" or want to alert the returned string... the power of ajax is not what it returns, it is what it does on the server (remotly) without having to send the whole page in.