Reputation: 430
I need to hide a Div on using Jquery its contain specific title . example in my two div have title Stop drawing and Draw a circle
<div draggable="false" title="Stop drawing" ></div>
<div draggable="false" title="Draw a circle" ></div>
Please help me.
Upvotes: 2
Views: 2907
Reputation: 67505
Take a look at jQuery [attribute|=value] Selector and jQuery Selectors, you can do it by following code :
$('div[title="Stop drawing"]').hide();
Upvotes: 5