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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post Buttons and Textareas

    Hello,
    I'm new here but I need some help. I was directed here by a friend who said this place has lots of useful information, so I hope someone can help.
    First off my script can be found here.
    I'm working on a module for PHP to have minutes be added to be displayed on a page, but the Javascript is where I need the help with. There's some buttons at the top of the textarea, and when clicked I want them to place an ASCII symbol inside the textarea so theres some formatting to the minutes. The ASCII for the buttons resolves in the page to the proper look, but the javascript places them in the textarea as the HTML code for them, like ».
    I don't know if I worded that well enough, kindof hard to describe it. The link to the file can be saved as an html, cause the HTML is there (very minimal).

    Also on a side note, Internet Explorer detects that code as like malacious Active X stuff. Why is that and what can I do to stop that?

  • #2
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, you can store the actual symbols in the array, or their decimal, hex, or unicode equivalents, or just send the button's value to the function, instead.

    As for IE, these links may be relevant: SP2, popups, help :)
    *this message will self destruct in n-seconds*


  •  

    Posting Permissions

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