What's javascript for disable HTML code and word count in text area?

Discussion in 'JavaScript' started by hhheng, Jan 16, 2007.

  1. #1
    I have a guest book on my website, but most of the visitors leave comments about their website with active links. So now I want to disable the function that visitors can input html code in the textarea, and set a limit of word to stop them advertise their websites.

    Please see the guest book here: www.hkhangfong.com/guestbook.htm
     
    hhheng, Jan 16, 2007 IP
  2. Logic Ali

    Logic Ali Well-Known Member

    Messages:
    170
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Scripting can be inhibited by the user, so that requires a server-side solution.
     
    Logic Ali, Jan 16, 2007 IP