Dasdad A.

asked • 05/08/18

any one solve this jquery

jQuery('.button.btn-cart.mob_button_left').click(function () { if(!(jQuery('product-options-block').hasClass("product-options"))){ jQuery('.button.btn-cart.mob_button.buttons').prop('disabled', true); } else { if(document.getElementById('select_label_size').innerHTML){ jQuery('.button.btn-cart.mob_button.buttons').prop('disabled', true); }else{ jQuery('.button.btn-cart.mob_button.buttons').prop('disabled', false); } } });

1 Expert Answer

By:

Gabriel F. answered • 10/26/19

Tutor
5.0 (85)

Full stack Javascript Engineer

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.