加载并解析asp,与cheerio库里使用一致
xiyuetaASP.load()工具方法,一种调用方式:
1、xiyuetaASP.load(); //加载并解析asp,与cheerio库里使用一致
总结:用法 var $asp = xiyuetaASP().load();此方法同cheerio库方法使用一致,在xiyueta.js库里也可以用xiyuetaASP().parse()解析asp
尝试一下>>
<script src="https://www.xiyueta.com/js/xiyueta.min.js"></script> <script>
var $asp = xiyuetaASP.load('<'+'%\nresponse.write("abc")\n%>') $.log( xiyuetaASP().tophp() );
</script>
<?PHP
echo('abc');
?>