Looking for simple text change script

Discussion in 'Scripts' started by CarlBlogger, Sep 12, 2010.

  1. #1
    I'm looking for a script that will help me generate HTML around what a user will input.

    .e.g. If a user puts this page URL from their browser into a box and clicks submit, it turns it into a HTML link?

    I guess it's simple...:D
     
    CarlBlogger, Sep 12, 2010 IP
  2. trimwell22

    trimwell22 Peon

    Messages:
    107
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You mean Jquery?


    <html>
    <head>
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript">
    $(document).ready(function(){
      $("button").click(function(){
        $("p").hide();
      });
    });
    </script>
    </head>
    
    <body>
    <h2>This is a heading</h2>
    <p>This is a paragraph.</p>
    <p>This is another paragraph.</p>
    <button>Click me</button>
    </body>
    </html>
    
    
    Code (markup):
    Of course you can edit it:)


    Thanks
     
    trimwell22, Sep 13, 2010 IP