uncheck checkbox when another is checked javascript
<input id="cbxBirthDate" type="checkbox" onClick="javascript:uncheckShowYear(this);" />
<input id="cbxShowYear" type="checkbox" />
<script language="javascript" type="text/javascript">
function uncheckShowYear(obj)
{
if (obj.checked == false)
{
document.getElementById("cbxShowYear").checked = false;
}
}
</script>
Also in JavaScript:
- ngmodel component angular
- js set cookie
- repeat a function javascript
- [JsonConverter(typeof(StringEnumConverter))] on list of enums
- how to read environment variable in node js
- react native dynamic view size
- how to display first value of an array in jquery
- express json body
- how to iterate object inside object in javascript
- discord js ban user
- javascript how to do else if
- 00:00:00 / 00:00:00 js
- how to get csrf token in javascript
- cut text if too long javascript
- horizontal scrollview in react js
- airbnb react native eslint
- array data structure javascipt interview questions
- how to lazyload angular
- get element by class
- how to add objects in array in javascript
- javascript change frame background
- react hide source code
- javascript open in new window not tab
- number pyramid in javascript