rahulgbhatia.wordpress.com
Formatting phone number with AngularJS | Rahul's space
https://rahulgbhatia.wordpress.com/2015/07/17/formatting-phone-number-with-angularjs
Learn, Share and Grow with me! Formatting phone number with AngularJS. Formatting phone number with AngularJS. July 17, 2015. 8212;—————————————————————–. Angular.module(‘ng’).filter(‘tel’, function () {. Return function (tel) {. Tel) { return ” }. Var value = tel.toString().trim().replace(/ /, ”);. If (value.match(/[ 0-9]/) {. Var country, city, number;. Switch (value.length) {. Case 10: / 1PPP# # # # - C (PPP) # #-# #. Country = 1;. City = value.slice(0, 3);. Number = value.slice(3);. If (country = 1) {.
rahulgbhatia.wordpress.com
Rahul Bhatia | Rahul's space
https://rahulgbhatia.wordpress.com/author/rahulgbhatia
Learn, Share and Grow with me! Disable click outside of bootstrap model area to close modal. July 8, 2016. Problem :You can close the modal by clicking on the background. Is there anyway to disable this feature? On specific modals only? There is option called backdrop. Passing this option with value. Will prevent closing the modal. To prevent closing the modal by pressing. 1] If you opening the modal by js use:. 2] If you are using data attributes, use:. Disable click outside of bootstrap model. TIMESTAM...
rahulgbhatia.wordpress.com
AngularJS – Programmatic access for select dropdown | Rahul's space
https://rahulgbhatia.wordpress.com/2015/06/25/angularjs-programmatic-access-for-select-dropdown
Learn, Share and Grow with me! AngularJS – Programmatic access for select dropdown. AngularJS – Programmatic access for select dropdown. June 25, 2015. Set value of select dropdown in AngularJS. Leave a Reply Cancel reply. Enter your comment here. Fill in your details below or click an icon to log in:. Address never made public). You are commenting using your WordPress.com account. ( Log Out. You are commenting using your Twitter account. ( Log Out. Notify me of new comments via email. Top Posts and Pages.
rahulgbhatia.wordpress.com
SQL: Condition in Count() | Rahul's space
https://rahulgbhatia.wordpress.com/2015/07/07/sql-condition-in-count
Learn, Share and Grow with me! SQL: Condition in Count(). SQL: Condition in Count(). July 7, 2015. Count(case when EventTypeID =1 then 1 else null end) as TotalTournamentsAttended,. Count(case when EventTypeID =2 then 1 else null end) as TotalLeaguesAttended. Count based in condition. Row count based on condition. July 7, 2015 at 3:22 am. Leave a Reply Cancel reply. Enter your comment here. Fill in your details below or click an icon to log in:. Address never made public). Top Posts and Pages. Disable cl...