Tuesday, April 29, 2014

Button Hide and show using jquery

 Step 1: var planType = $('input[id$=hdfPlanType]').val();

        if (planType = 'Goalbased') {
            $("#btncreatemyplan").show();
            $("#btnFA").hide();
        }
        if (planType = 'Holistic') {
            $("#btncreatemyplan").hide();
            $("#btnFA").show();
        }

No comments:

Post a Comment