HomeTuesday, May 23, 2017, 20:28:58
10

Jquery - Formatting International Phone Numbers

Tuesday, December 1, 15, 01:14:22, 2 Yaers Ago Via wain, Hits: 2510
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

Addslashes - Stripslashes

addslashes — quote string with slashes, stripslashes — un-quotes a quoted string

Email Link

HTML email link example

Upload Image with PHP [Example2]

[Example2] Tutorial - How to upload and resize image with PHP

RSS, MySQL & Smarty

Smarty > Publishing MySQL Data in RSS 2.0

Contact Us 2.0. :: PHP Form

Version 2.0. - A contact us form with email and form field validation. It allows your visitors to send you an email directly from your website.

Process Form Data with Jquery

jQuery, Process form data

PHP $_GET Function

Get function in PHP

Email to Friend - PHP Script

This form allows your visitors to suggest your site to a friend. It features an HTML email format and an admin notification email.

Password Protect With PHP

Password protect tith PHP - tutorial

PHP Str_replace - PHP Tutorial

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

wain

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