Results 1 to 7 of 7

Thread: I feel stupid asking this!!!!!

  1. #1

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    How to put an enter in a string in javascript

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    There's a lot about Javascript here
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    Thanx, there's a lot there too!.
    I was'nt looking for the good, i was searching for enter,
    instead of carriage,
    does it show i'm french

  4. #4
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    On the site above if you search "Enter" you get 172 Q & A dealing with the matter. If you look, you may find what you need.
    Enter

    btw:
    What exactly is the question.
    Do you want to store the word enter in a string.
    or
    Do you want to know how to create and use an enter button?

    [Edited by HeSaidJoe on 11-28-2000 at 09:44 AM]
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  5. #5
    Member
    Join Date
    Nov 2000
    Location
    Vienna, Austria
    Posts
    62

    try this

    There should be a way to enter ASCII codes in Java, which means you can try ASCII code 13 line Chr(13).
    Hope this helps.
    Life is trip, eat it and smile.

  6. #6
    New Member
    Join Date
    Oct 2000
    Posts
    10
    try using \n in the string

    So "whatsup\n dude"

    will come out as:-
    whatsup
    dude

  7. #7
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    As per Asc 13 is interperted differently in Netscape and in MSIE..but this might give you some insight as the question deals with verifying an enter keypress. You may be able to reverse the process and create one.
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

Posting Permissions

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



Click Here to Expand Forum to Full Width