首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > jQuery的Ajax调用处理使用XSL转换一个轻量级的插件

jQuery的Ajax调用处理使用XSL转换一个轻量级的插件

资 源 简 介

jquery.xslite extends 4 jquery ajax related methods. An application responding with XML containing an xsl-stylesheet processing instruction will have that transformation applied automatically. ajax(settings) - all jquery.ajax parameters are supported $.xslite.ajax({ url:"some.xml", method:"GET", success: function (doc,st,jqxhr) {// if "some.xml" a contains an xsl-stylesheet processing instruction, // doc will be the post transformation document, otherwise, it will be "some.xml" } }); load(url [, data][,success [, error]]) url - the url to query data - any request arguments a callback routine called if the request is successfull a callback routine called if the request fails $("#header").xslite.load("/rq/tour/header"); get(url [, data][,success [, error]])

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP