4,190 views
6 6 votes

The correct syntax to write "Hi there" in Javascript is

  1. jscript.write ("Hi There")
  2. response.write ("Hi There")
  3. print ("Hi There")
  4. print.jscript ("Hi There")

2 Answers

4 4 votes
in javascript we use document.write at client side

response.write on server side
Answer:
Position:
Show:

Related questions

5 5 votes
2 2 answers
4.2k
4.2k views
go_editor asked Jun 19, 2016
4,213 views
To declare the version of XML, the correct syntax is<?xml version='1.0'/><*xml version='1.0'/><?xml version="1.0"/><xml version='1.0'/>
5 5 votes
3 answers 3 answers
4.0k
4.0k views
go_editor asked Jun 19, 2016
3,999 views
To add a background color for all <h1 elements, which of the following HTML syntax is usedh1 { background-color :#FFFFFF}{ background-color :#FFFFFF} . h1h1 { background-...
1 1 vote
1 1 answer
4.5k
4.5k views
Pooja Khatri asked Jul 13, 2018
4,523 views
Consider the JavaScript Code:var y=”12” function f() { var y=”6”; alert (this.y); function g() {alert (y); } g(); } f();If $M$ is the number of alert dialog boxes generat...
2 2 votes
1 1 answer
2.0k
2.0k views
go_editor asked Aug 10, 2016
1,977 views
Javascript and Java have similar name becauseJavascript syntax is loosely based on Java's syntaxJavascript is stripped down version of JavaJava and Javascript are origina...