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
    Regular Coder
    Join Date
    Sep 2008
    Posts
    205
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question How to Accept Control Characters in HTML Text Box?

    Does anyone know how to accept control characters like control-b (^B), control-c (^C), etc in an HTML text box?

    Currently, the value entered into the text box gets treated as a string consisting of "^" and "B" (assuming ^B was entered) rather than a control character.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Flint, Michigan, USA
    Posts
    632
    Thanks
    1
    Thanked 21 Times in 21 Posts
    As far as I know, there's no way to do it directly in HTML. Enter the "^B" as you described and then convert it on your server.


  •  

    Tags for this Thread

    Posting Permissions

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