Results 1 to 3 of 3
  1. #1
    san1 is offline Member
    Join Date
    Feb 2014
    Posts
    9
    Rep Power
    0

    Default Javascript code to convert phone number phrase to actual phone number

    I'm required to
    - ask the user for the phone number phrase using a standard HTML form and followed by a
    - java script function to convert the number phrase into actual number
    - the final output must show up without using html input controls


    Been trying to accomplish this using if else statements within the <script> tag but did not succeed.

    Any help would be greatly appreciated.

    Thanks

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,773
    Rep Power
    25

    Default Re: Javascript code to convert phone number phrase to actual phone number

    javascript != java
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,260
    Rep Power
    6

    Default Re: Javascript code to convert phone number phrase to actual phone number

    Quote Originally Posted by san1 View Post
    Any help would be greatly appreciated.
    So get a good book.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Replies: 0
    Last Post: 06-06-2012, 09:26 AM
  2. Accepting value for phone number field
    By sgiri37 in forum New To Java
    Replies: 2
    Last Post: 03-22-2012, 10:20 AM
  3. UK Phone Number regex validation?
    By ozzyman in forum New To Java
    Replies: 8
    Last Post: 04-12-2011, 10:15 AM
  4. Phone number Program ..
    By Sary in forum New To Java
    Replies: 9
    Last Post: 03-17-2010, 08:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •