Jump to content


  • Posts

  • Joined

  • Last visited

About metadata

  • Birthday March 11

Previous Fields

  • Languages
    java, javascript, c/c++, html, css, xml, asp

Profile Information

  • Location
    New York

metadata's Achievements


Newbie (1/7)



  1. OK, so how do output back to that command line? For instance this block of code will output to an html doc, and then to the browser, for a user to see.... var prompt = "Hello, this is x calling."; //output prompt function S_Hello(prompt){ return prompt; } document.write(S_Hello); However, I need code to output right to that command line/shell for the user to see the output and then enter in more further on in the program.
  2. Is there a way to execute a js file without a browser? I'm talking straight from the Windows shell. Again this is for my use only, not to be used on a website or in conjunction with any kind of html.
  3. No it's not being done through the browser, it's more of a test application than a functional one. From the command line in Windows I'm using the cscript //nologo file.js command to run the application. I'm going to output the interactions within the file.js to a xml doc as a log eventually.
  4. Hello, I am working on a project in which I need to out put text to the command line, as well as prompt for input from the command line. The application is to use JS and I'm looking for some reference materials on pulling this off. Any info is appreciated. Thanks!
  5. Shouldn't Windows 7 have IIS already on it which basically turns a PC into a web server of sorts?
  6. I have another question. I opened the file.asp with notepad and put the following code inside from an exaple on the site: <!DOCTYPE html><html><body><%response.write("Hello World!")%></body></html> The page that comes up in my browser displays the following: <% response.write("Hello World!") %> What does this mean? It should only display Hello World! if working properly. Thanks
  7. Yes I see now, I missed something in opening the file using notepad.
  8. I am new to asp and am wondering what extension you are supposed to use for an asp file. In some of the examples on the site it showed ".asp" as the extension for these files. An example below: <form method="get" action="simpleform.asp">First Name: <input type="text" name="fname" /><br />Last Name: <input type="text" name="lname" /><br /><br /><input type="submit" value="Submit" /></form> Now, is this what the filename's extension should actually be or should it be .html? I named my file with a .asp extension but I am unable to open it in notepad for editing so I'm thinking it should be .html. Thanks!
  9. Yes that is what I want to do, I will look into finding the info on this.
  10. OK, I just used asp as an example in terms of the #include functionality. Thanks for the replies
  11. I have a question about #includes in javascript. I currently have an html file with a header section that has my functions. Is there a way I can put all these functions in a separate html file and then include that file? I would like to reduce the clutter in the current file and move all my functions off to a different one, increasing modularity. I found things in the asp section on this but not JS. Thanks!
  12. Yes I like that much better, gives more options in the handling of direction from the current page. Thank you that was what I was looking for.
  • Create New...