Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: paste as code

  1. #1
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    paste as code

    Hello. I have a question I was hoping someone could help me with. I'm trying to find either software or code that creates a form field into which I can paste a copied web page and it will display as source code. In other words, I copy an entire page in my browser, and when I paste into the field, it shows the HTML code instead. Does anyone know of such a thing?

    I greatly appreciate your input. Thanks!

  • #2
    Senior Coder
    Join Date
    Apr 2005
    Posts
    1,051
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i think dreamweaver or maybe even msword will allow you to do that. however you will not get javascript or server side. only the markup as seen.
    public string ConjunctionJunction(string words, string phrases, string clauses)
    {
    return (String)(words + phrases + clauses);
    }
    <--- Was I Helpfull? Let me know ---<

  • #3
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    yes

    Sorry, I don't think I was specific enough. I could view the source code any number of ways, but what I specifically need is a field that is embedded in a web page. So that it automatically becomes code.

    I was thinking about it just now. If I could find an embedded wysiwyg html editor that has a view source option, i may be able to automate it that way.

    Thanks for the reply!


  •  

    Posting Permissions

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