Welcome Guest, Not a member yet? Register   Sign In
checkbox value for Edit not showing as checkbox checked
#6

@SubrataJ 
your code below is working fine, thanks again.
Code:
// start: code added here...
                if(product_available == 'Y') {
                    $('#product_available').prop('checked', true);
                }else{
                    $('#product_available').prop('checked', false);
                }

@InsiteFX thanks for your response. will check it.
regards
Newbie here in CodeIgniter World !! Please appologize if any nonsense from me.  
environment: Windows 10, XAMPP 3.3.0, VS Code, SQLyog Community Ed. 
Reply


Messages In This Thread
RE: checkbox value for Edit not showing as checkbox checked - by Ahmed Haroon - 08-05-2022, 03:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB