jquery ready函数、css函数及text()使用示例
代码如下:
<script type="text/javascript" src="/javascript/jquery.js"></script> <script language="javascript"> $("#CheckoutStepShippingProvider").ready(function(){ if($("#Note_52413376ea55e_1").text()=="US$29.99"){ $("#XX_2").css("display","block"); }else{ $("#XX_1").css("display","block"); } }); </script>
相关推荐
hellowzm 2020-07-19
qiupu 2020-11-04
多读书读好书 2020-11-03
RedCode 2020-10-28
jiedinghui 2020-10-25
Ladyseven 2020-10-22
hellowzm 2020-10-12
zuncle 2020-09-28
Ladyseven 2020-09-11
jiedinghui 2020-09-07
xiaohuli 2020-09-02
葉無聞 2020-09-01
impress 2020-08-26
ThikHome 2020-08-24
nicepainkiller 2020-08-20
hellowzm 2020-08-18