1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Java script

Discussion in 'Software Development' started by Toddles18, Feb 3, 2003.

Thread Status:
Not open for further replies.
Advertisement
  1. Toddles18

    Toddles18 Thread Starter

    Joined:
    Jul 18, 2001
    Messages:
    2,910
    I'm working on a page using javascript. What I would like to do is have people enter text into a form text area, and then apply a script to it to take all the spaces out and insert "+" signs where the spaces where. Anyone have an idea of how to do this?
     
  2. ckaas

    ckaas

    Joined:
    Feb 3, 2003
    Messages:
    133
    i got something for you, but how the hell does one post a javascript code on in these things?
     
  3. ckaas

    ckaas

    Joined:
    Feb 3, 2003
    Messages:
    133
    after having tried to post this code many times, i am getting fed up, i'll just e-mail the thing to you :)
     
  4. Toddles18

    Toddles18 Thread Starter

    Joined:
    Jul 18, 2001
    Messages:
    2,910
    I know, it's difficult to do on here, I usually just save it to a .txt file and then upload it.
     
  5. ckaas

    ckaas

    Joined:
    Feb 3, 2003
    Messages:
    133
    For anybody else needing to know
     

    Attached Files:

  6. Toddles18

    Toddles18 Thread Starter

    Joined:
    Jul 18, 2001
    Messages:
    2,910
  7. ckaas

    ckaas

    Joined:
    Feb 3, 2003
    Messages:
    133
    yeah, you're right... i dont know where the error is comming from but just try copy/pasting my code (attached bellow) into the page? works fine then for me
     

    Attached Files:

  8. Toddles18

    Toddles18 Thread Starter

    Joined:
    Jul 18, 2001
    Messages:
    2,910
    Thank you much, If you use AIM you may appreciate what I'm doing. I'll post it up when I'm finished
     
  9. Toddles18

    Toddles18 Thread Starter

    Joined:
    Jul 18, 2001
    Messages:
    2,910
  10. ckaas

    ckaas

    Joined:
    Feb 3, 2003
    Messages:
    133
    hehehe, way cool
     
  11. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/116822

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice