我们如何使用jquery更新Xml标签值 [英] How can we update Xml tags value using jquery
本文介绍了我们如何使用jquery更新Xml标签值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有xml文件和html文件.我能够读取xml文件.
但是我无法更新该xml文件中的标签.
只有我必须要做html和jquery或javascript客户端操作.
I have xml file and html file. I am able read xml file.
But I am unable to update a tag in that xml file.
Only I have to do in html and jquery or javascript client side operations only.
推荐答案
try:
try:
var a = "Karthik\ndef\Karthik\nxyz"
var NewA = a.replace(/Karthik/g, "Sandeep");
这篇关于我们如何使用jquery更新Xml标签值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文