answersLogoWhite

0


Best Answer

hi,

This is sunil maurya . I am working with Geometric solution Bangalore... as software developer.

According to java script rule we can use this language on separate file and use in the HTML code as well as we also write code in the same file and use it where needed...

Thanks

Sunil maurya

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Where is the correct place to insert a JavaScript?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can you insert a cookie using javascript?

modify document.cookie


What is the correct JavaScript syntax to insert a comment that has more than one line?

The proper syntax to insert a multi-line comment into JavaScript is to surround the comment with /* and */ function useless() { /* This function doesn't do anything We should come back to it. Soon. */ }


Can insert javascript coding in servlet?

No. Javascript code can be present inside a JSP but not inside a servlet. A Servlet is a pure java class.


How do you insert an image in javascript?

<script type="text/javascript"> var image = new Image; image.src = "imageurl.png"; document.body.appendChild(image); </script>


Insert date on a webpage using javascript?

Just use new Date(); to get the current date and then use document.getElementById to insert it on the webpage. <div id="example"></div> <script type="text/javascript"> document.getElementById('example') = new Date(); </script>


What is the correct JavaScript syntax to write Hello World?

document.write("hello world");


What is negative infinity javascript?

To access infinity in JavaScript use the JavaScript keyword "Infinity." To access negative infinity, place the minus sign in from of the keyworld "-Infinity." See the attached JSFiddle for associated code.


How to insert an auto update table a website?

For a full guide on how to insert an auto update table on a website visit codingforums.com/javascript-programming/208733-need-create-automatic-updating-league-table.html


The disk you inserted is not the correct one - what do you do now?

Insert the correct one.


How can you insert javascript into an HTML document?

Here are two examples of internal and external calling of javascriptInternal Calling (Not Recommended)// Your javascript code ehreExternal Calling (Recommended)


How can you Send a card to Niall Horan?

Buy a card. Write your greeting, Place card in envelope. Buy the correct postage. Insert card in postbox


What is the correct JavaScript syntax for opening a new window called w2?

w2=window.open("http://www.w3schools.com");