Here is code :

var xml = {xml content};

$(xml).find('{nodename}').text({changed value});

This code works fine.
And content should be proper xml and not string.

On Nov 16, 12: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.

Reply via email to