87
rated 0 times
[
93]
[
6]
/ answers: 1 / hits: 26169
/ 15 Years ago, mon, july 6, 2009, 12:00:00
chaning xml attributes through jquery is easy-peasy, just:
$(this).attr('name', 'hello');
but how can I add another tag into the file? I tried using append the JS dies silently.
Is there any way to do this?
Clarifications: this code is part of an extension to firefox, so don't worry about saving into the user file system. Still append doesn't work for xml documents yet I can change xml attribute values
More From » jquery