阅读背景:

如何将变量与Jquery结合?

来源:互联网 

Got the following code:

下面的代码:

$(document).ready(function() 
{
   $('a.add-item').click(function()
   {
         if ($(this).parent().find('input').attr('value', '0'))
         {
            $(this).parent().find('input').attr('value', '1')
         }
   });
});
$(document)



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: