[Solved] To rewrite a javascript to jQuery [closed]
Easily done. Replace all document.getElementById(‘yourid’) with $(‘#yourid’) Replace all .value=”” with .val(”) Replace all .disabled = true (or false) with .prop(‘disabled’, true) // or false Replace all .checked = true (or false) with .prop(‘checked’, true) // or false and all .checked with .prop(‘checked’) solved To rewrite a javascript to jQuery [closed]