Create an XML file in server using SimpleXML and JQuery Ajax

Pareenuro

New Member
I need some help, I hope someone can help me =)What I want to do surely can be accomplished but I'm doing something wrong: I want to create an XML file when I use an Ajax call.I got the following code (synthesized). Please note maybe this example doesn't work, it's just to exemplify:HTML\[code\]<html><head> <!-- JQuery 1.7 included --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script></head><body> <p>Create XML on server!</p> <form id="prog" method="POST"> <input type="text" id="test" /> <button id="submit" type="submit"> Create now! </button> </form> <script> jQuery.noConflict(); jQuery(document).ready(function($){ var test = $('#test').val(); // When the button it's clicked: $('#submit').click(function () { $.ajax({ // Este es el archivo PHP que procesa la informaci
 
Back
Top