0
Which j query function is used to hide a div or content when not focus on the label.
When we click on outside the label the box content or div should close or hide. Which function is used??
6 Respostas
+ 1
$("div").hide();
+ 1
$('#label').blur(function() {
$("div").hide();
});
Please show your attempt for more help.
+ 1
There is also another possibility. You can try this out:
https://code.sololearn.com/WlKh5fhCesLz/?ref=app
0
This will hide that div but when? Jb bh label se out wo click ho to wo hide ho jaye
0
I have tried this but it doesn't work
0
Ok I'll try this thank you so much