首页| 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
  • Mason 1小时前 成为了本站会员

  • 1小时前 成为了本站会员

  • Half_Punch 1天前 成为了本站会员

  • liqing71718 1天前 成为了本站会员

  • 伟国 1天前 成为了本站会员

  • songy 1天前 成为了本站会员

  • 纯色幽默 1天前 成为了本站会员

  • odd? 1天前 成为了本站会员

  • 52JOY... 1天前 成为了本站会员

  • Sirius 2天前 成为了本站会员

0.172640s