How to disable a href button with conditional (javascript)

前端 未结 0 1642
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-04 02:01

I\'m trying to disable a button only if the img src is a no logo image

at the moment I have this:

    if($(\'img.img-thumbnail\').attr(\'src\') == \'{{         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题