<script>jQuery(“:radio”).click(function(){ var radioName = jQuery(this).attr(“name”); //Get radio name jQuery(“:radio[name='”+radioName+”‘]”).attr(“disabled”, true); //Disable all with the same name });</script> This is disabled
Continue readingCategory: javascript
How to get current page URL with javascript?
If you are writing some javascript and need to get current current page url, the following code is useful. This
Continue reading