I have a generated XML-file: http://www.decebal.nl/cgi-bin/contact2.cgi?command=getForm&form=contact
In my HTML-page (http://www.decebal.nl/newsite/contact2.shtml) I have: $(document).ready(function(){ $.post("/cgi-bin/contact2.cgi", {command: "getForm", form: "contact"}, function(xml){ var form = $("value", xml).text(); $("div#contact_form").replaceWith(form); } ); }); and: <div id = "contact_form"> </div> But instead of getting the wanted form I get only the following text: Organisatie Soort organisatie geen Non Profit ZZP MKB Anders Voornaam Achternaam E-mail Telefoon Adres Postcode Plaats Reden Voor Contact geen Vraag Opmerking Verzoek Om Informatie Neem Contact Met Mij Op Omschrijving What do I need to do to get the form inserted in my webpage? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---