Fastest Web Hosting

how to disable all div content

0 votes
asked Sep 21, 2016 in Jquery by rohit (2,750 points)

i am new in jquery ,i want to know how can i disable all div content,and content is grayed but i can interact, so you have any way to disable a div content.


1 Answer

0 votes
answered Sep 29, 2016 by sfakhri (300 points)

$("#mondiv").attr('disabled','disabled'); OR $("#mondiv").children().attr("disabled","disabled");

Job Board

TechnicalSharp is a technical community of developers where they are sharing their knowledge and solutions and against it they are getting the score point which help them to make profile strong which is under eyes on MNC's