Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 20th, 2012  |  syntax: None  |  size: 0.32 KB  |  hits: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to display the content of an XML file in a HTML input with jQuery?
  2. function displayXMLContent(obj) {
  3.     $.ajax({
  4.         type: "GET",
  5.         url: obj.children().attr('title'),
  6.         success: function (data) {
  7.             $('#inputToEditXML').html(data);
  8.             accessForTextArea(true);
  9.         }
  10.     });
  11. }