Javascript Code Doesn't Work After Putting The Code As External File
I'm applying a Javascript (JS) code for bootstrap modal(popup window) in my page. I'm planning to let it run dynamically as i enter an input into the textbox that appears from the
Solution 1:
try putting your code in document.ready
$(document).ready(function () {
// New Modal ================================================
$('#inputNew').on('hidden.bs.modal', function (e) {
document.getElementById("input").checked = true;
});
})
Post a Comment for "Javascript Code Doesn't Work After Putting The Code As External File"