SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2009
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How can I stop this script from resizing the text on me page?

    This script is making all of my text larger. Anyone know why?

    Code:
    <script type="text/javascript">
    function nospaces(t){
    if(t.value.match(/\s/g)){
    $error_msg="Sorry, you are not allowed to enter any spaces";
    t.value=t.value.replace(/\s/g,'');
    }
    }
    </script>
    AllTopExchange - Banner Ad Network
    40,000+ Free Impressions When You Join.

    TrinityClicks Best GPT Site EVER! Join Now!

  2. #2
    SitePoint Guru
    Join Date
    Jan 2007
    Posts
    971
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Can you show a link to the page?


Bookmarks

Posting Permissions

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