Selecting checkboxes based on URL parameters – codereview.stackexchange.com 04:54 Posted by Unknown No Comments Is there any way to reduce these lines of code? var url = window.location.href.split("?"); if(url[1].toLowerCase().includes("chk=webdes-check")){ $('#website-design').attr('checked', true); } ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "Selecting checkboxes based on URL parameters – codereview.stackexchange.com"
Post a Comment