Click here to Skip to main content
15,905,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Angularjs how to remove textbox border color after click on reset button.
I have used below code but textbox color could not be remove in angularjs
$scope.cancel = function () {
clear();
$scope.frmCustomerRegistration.$setPristine();
}

What I have tried:

<form class="form-horizontal custom_form" name="frmCustomerRegistration" ng-submit="registerCustomer()" novalidate>


<input type="text" placeholder="First Name" class="form-control color_form_control" id="first_name" name="first_name" autocomplete="off" ng-model="FirstName" ng-required="true" />



</form>
Posted
Comments
Gokulprasad05 13-Mar-16 23:47pm    
You want to remove text box or hide
Ajay Shedge 14-Mar-16 0:31am    
I want to remove textbox border color if I clicked on cancel button means reset the form

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900