[Solved] Select radio button from external URL [closed]
Simple way to check radio button on window load. Consider your url to be of form – scheme://example.com/myproject/abc.php?id=2 After running below code snippet you will encounter an error so try it on your site it requires url inorder to work. $(window).on(‘load’, function() { let prepend = ‘item-‘; let elem = ‘input[type=radio]’; let url = window.location.href; … Read more