Friday, 7 February 2014

Getting more Checkbox:checked values / id's

 var _Ichkoffe= $('.selectoption input[name=docheck]:checked').map(function () { return this.value; }).get().join(",");

/*-----( checkbox checked is true / false )-----*/
    $('.selectoption input[name=docheck]:checked').attr('checked', false);
            $(this).parent().parent().parent().parent().parent().parent().find('.selectoption input[name=docheck]').attr('checked', true)
    /*-----(Getting value )------*/  
 _Ichkoffer = $(this).attr("value");

No comments:

Post a Comment

Extracting Nupkg files using command line

Rename it to zip first then extract files as below 1.     Rename-Item -Path A_Package.nupkg -NewName A_Package.zip 2.     Make sure to repla...