Ad block is installed and active. Please support us by disabling it.
HomeSunday, December 17, 2017, 04:24:49
10

Jquery - Formatting International Phone Numbers

Tuesday, December 1, 15, 01:14:22, 2 Yaers Ago Via wain, Hits: 3658
How to format international telephone numbers with jquery
<input type="text" id="phone" class="input" name="phone" />

<script>
jQuery('#phone').keyup(function () {
this.value = this.value.replace(/[^0-9\.\s+\(\)]/g,'');
});
</script>

Sign In

Sponsor

Related

PHP Form Basic

PHP Form - PHP form basic, Requirement(s): PHP Server

Adodb Recordcount Example

RecordCount returns the number of rows in the record set.

Preg_Match - PHP Email Validation

Validate email with preg_match in php

PHP Tutorials

Useful step-by-step PHP tutorials for beginners

PHP DateTimeZone

PHP representation of time zone

PHP str_replace

str_replace - This function returns a string or an array with all occurrences of search in subject replaced with the given replace value

PHP Jquery Form

PHP Jquery Form allow your visitors to contact you directly from your website.

MySQL – Select from two tables

Select data from two tables, PHP MySQL

PHP form with file upload

Advanced Contact Form with email and form field validation. It allows your visitors to send you an email directly from your website.

Bookmark Script

Allow your users to easily bookmark your site, by clicking on a link on the page.
About Author

wain

Date Registered: Sun, Feb 8, 15
Last Time Online: Thu, Jun 15, 17
So far has created 115 entries.
wain
This author has not yet filled in any details.