Skip to main content

Posts

Showing posts from February, 2013

Disabling Checkbox Inside PageBlockTable

Hi All I had come across in a requirement,the Requirement  was to select one record and disable all the records after selecting in that table. I have done it by using JavaScript, I think it will help you. This is the page. <apex:page>      <apex:form>             <script>                    function checkboxuse(tag) {                         var menus  = document.getElementsByClassName("Teststyle");                         if (tag.checked == true) {                              for (var i = menus.length - 1; i >= 0; i--)                              {      ...