answersLogoWhite

0


Best Answer

Javascript is embedded into HTML pages, so yes. You can create an HTML document on your desktop and include javascript within. Once you save the file, you can open it with the web browser that makes you happiest and test your javascript code, all while being offline. Then only note here is you will not be able to test any postbacks.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can you use a javascript document offline and if so how?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Which tag is used to implement javascript in an HTML file?

The SCRIPT tag is used to implement a JavaScript (or other kind, i.e. VBScript) in an HTML document. The tag can either contain the actual JavaScript code, or can point to an external script file that should be included at render-time. To add JavaScript directly to the document in HTML 5, place these tags in either the HEAD section or just prior to the BODY sections closing tag. <script type="text/javascript"> //JS code goes here </script> To call an external JavaScript file, use the "src" attribute, like so: <script type="text/javascript" src="path/to/script.js"></script> If you're unsure of where to put the JavaScript tags, see the related answer(s).


Which HTML element do you put the JavaScript?

In order to put JavaScript in a HTML document place the code in script tags. These tags can be included in the HEAD section of the HTML document, or in the BODY.Often, scripts are placed at the very bottom of the page to enhance search engine optimization (SEO).window.alert("This is a sample document!")Sample documentsample text sample textsample text sample text


What programs use javascript?

Seriously a lot of people. It's mostly used to make webpages, so webdesigners use it a lot.


How do you call a perl program from javascript?

You can call the Script like this, <script type="text/javascript" src="perl_script.pl"></script> So you just replace a regular Javascript Call ( .js ) with the .pl Script. Inside the Perl Script you will have to use embraced Javascript Functions / Code, f.e. like print "document.write.('Hello World');";.


How do you do JavaScript?

Java script or javascript. a javascript is just object orientated language that you can embed into HTML to make an object preform tasks that are much much harder for any other language to do. On the other hand a complete Java script is much harder because pure Java is a language that is used to develope games and takes a lot more time to do than javascript, but it can do so much more than Javascript.

Related questions

Which tag is used to implement javascript in an HTML file?

The SCRIPT tag is used to implement a JavaScript (or other kind, i.e. VBScript) in an HTML document. The tag can either contain the actual JavaScript code, or can point to an external script file that should be included at render-time. To add JavaScript directly to the document in HTML 5, place these tags in either the HEAD section or just prior to the BODY sections closing tag. <script type="text/javascript"> //JS code goes here </script> To call an external JavaScript file, use the "src" attribute, like so: <script type="text/javascript" src="path/to/script.js"></script> If you're unsure of where to put the JavaScript tags, see the related answer(s).


In applications that allow users to write the security level should be set so the application warns users that a document they are attempting to open contains a macro?

javascript


Can you program something in Javascript that starts a VBScript?

Yes. Just create a VBScript function/sub in the same document, and since it would be a member of the window object, Javascript would also be able to call it, like so: <script language='vbscript'> sub test() alert("test") end sub </script> <script language='javascript'> test(); </script>


How does one define a Javascript class?

To define the class of a javascript code or string there are two to three or so main methods, one of these is to use it, and review the result, such as activating and using a function relative to to itself. Another is to use the objects Literals, the advantage to this is that Literals are a shorter way to define objects and arrays in JavaScript.


Which HTML element do you put the JavaScript?

In order to put JavaScript in a HTML document place the code in script tags. These tags can be included in the HEAD section of the HTML document, or in the BODY.Often, scripts are placed at the very bottom of the page to enhance search engine optimization (SEO).window.alert("This is a sample document!")Sample documentsample text sample textsample text sample text


What programs use javascript?

Seriously a lot of people. It's mostly used to make webpages, so webdesigners use it a lot.


How do you call a perl program from javascript?

You can call the Script like this, <script type="text/javascript" src="perl_script.pl"></script> So you just replace a regular Javascript Call ( .js ) with the .pl Script. Inside the Perl Script you will have to use embraced Javascript Functions / Code, f.e. like print "document.write.('Hello World');";.


Do you need java compiler to execute HTML programs written in javascript?

No, Java and JavaScript are nothing to do with each other, JavaScript is a form of EMCAScript, not Java. Every modern browser comes with a JavaScript engine that is used to understand JavaScript. so there is no need for it, no.


Can Javascript create 3D?

Javascript is a browser-run script, so I highly doubt that Javascript possesses the capabilities to create 3-D images, but it can input them into the webpage.


Do you need java script when playing games and how to you add it to my browser?

Most online games on browser are developed using flash and shockwave player files. So you do not require javascript for them. But in case they use javascript it is not a worry. Most popular browsers support javascript. Just look on the search engine how to enable javascript. For eg. Mozilla Firefox you just just click on Tools in Menu Bar and then go to Options and click on the tab Content. There should be a checkbox to enable javascript


Can you use tekkit in offline multiplayer?

I honestly think so, because their is a buzz of "minecraft tekkit cracked servers".


How do you say 'offline' in Japanese?

The Japanese word for "offline" comes from the English, so it is: 'ofurain'.