SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Processing a doc with javascript

    I want to process a form with java script to check values of fields, etc and then have it format that dooment nicely for it's submission. in the book that I have that briefly touches on javascript, it says that newline characters(/r, /n) vary depending on the OS. Is this true? Is there any easy way to get around this without asking what OS they are running?

  2. #2
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no not with os's javascript is supposed to be portable.

    If this were true then you could simply check with the client browser info

  3. #3
    The doctor is in... silver trophy MarcusJT's Avatar
    Join Date
    Jan 2002
    Location
    London
    Posts
    3,509
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    JS is (almost) 100% cross-platform. I have never ever experienced (or heard of) any such problems!




    M@rco


Bookmarks

Posting Permissions

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