0
After I mark the checkbox options, I click on "ok" it brings me the options I marked. giving the option to delete it. But if I delete, the checkbox is still marked.
0
After I mark the checkbox options, I click on "ok" it brings me the options I marked. giving the option to delete it. But if I delete, the checkbox is still marked.
Browser other questions tagged javascript html jquery
You are not signed in. Login or sign up in order to post.
Post the code already made for easy viewing and possible adjustments required.
– Leandro
If you are using Jquery, to uncheck a checkbox, you can set the attribute "checked" to false, like this:
$('#checkbox').prop('checked', false);
. If using pure Javascript, usedocument.getElementById("checkbox").checked = false;
– Renato Diniz
Renato, in case it would be a list, if I remove only 1 it should only uncheck the checkbox related to the one I removed from the list, keeping the others.
– S. Santos
Put your code in the question, for ease.
– Renato Diniz