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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2002
    Location
    england
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    can you compile a file

    if you go to http://members.aol.com/dg1234uk/quizgen.html (it isn't set out very well at the moment) I have made a program which will ask the user for some questions and answeres then generate the Javascript for the quiz and this appears in a textarea so the user then cuts and pastes it into there HTML document. is there anyway you can make javascript compile the HTML document for them so they don't have to themselves?

  • #2
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72° W. 48' 57" , 41° N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    no, you can't read from or write to files with javascript.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #3
    New Coder
    Join Date
    Jul 2002
    Location
    GA
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Although you can't create the file for them, this little script might be useful:

    http://www.dynamicdrive.com/dynamici...selectform.htm

    It copies the contents of the textfield to the clipboard in IE 4+


  •  

    Posting Permissions

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