March 30, 2016
March 25, 2016
Remove space in text field using angular.js
Removing space in text field using Angular.js is easy. We can do this by ng-change
attribute.
I will show you how to do this in two different ways.
Way 1
Put ng-change
attribute to the input field to which you want to the remove white-space.
Say if the ng-model
is contact.name
, then ng-change
would be contact.name = contact.name.split(' ').join('')
March 24, 2016
How to install Node.js and NPM on windows?
JavaScript is quickly becoming the go-to language for web developers. Front-end web developers use JavaScript to add user interface enhancements, add interactivity, and talk to back-end web services using AJAX. Web developers who work on the server-side are also flocking to JavaScript because of the efficiency and speed offered by JavaScript’s event-driven, non-blocking nature.
Subscribe to:
Posts (Atom)