[Solved] To rewrite a javascript to jQuery [closed]
[ad_1] 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’) [ad_2] solved To rewrite a javascript to jQuery [closed]