Click here to Skip to main content
15,792,870 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
$(ctrl).find('input,img,div[id*="Addxxx"]').attr('disabled', 'disabled');

this is not working in chrome

how to replace this to work in chrome
joshrduncan2012 13-Jun-13 10:39am    
"not working" means what? Are you getting any errors? Are you not getting the expected output? Please improve question and answer these questions.
syna syna 15-Jun-13 1:37am    
Not working means I am unable to disable div,image and input controls in Chrome
Sergey Alexandrovich Kryukov 13-Jun-13 12:45pm    
What is "ctrl"? What's "not working"?
syna syna 15-Jun-13 2:11am    
ctrl is a "div"
Sergey Alexandrovich Kryukov 15-Jun-13 22:35pm    
This is a whole problem: the div element is not a control. Disable some controls.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900