<script type="text/javascript"> $(function(){ $('settings').find('type').text("b"); }); </script>
<settings> <type>a</type> </settings> You mean that? where is your xml? get by ajax? inpage? On Nov 16, 3:39 pm, Shane <wishiwasmiss...@gmail.com> wrote: > Hey guys, > > Is it possible to use jQuery to write to XML nodes for example I have: > <settings> > <type>a</type> > </settings> > > I want to do something like: > $(xml).find('type').text("b"); > > This however isn't working. So I was wondering if there was a > different way to do this. > > Thanks, > Shane.