What is the main difference between Client side Java Script and and Server side Java Script how actually they run on both side with Example.



What is the main difference between Client side Java Script and and Server side Java Script how actu..

Answer / Rajkamal Singh

"Client-side JavaScript runs in a web browser and interacts directly with the user through HTML/DOM. It does not have access to the server or any data beyond what is sent from the server. On the other hand, Server-side JavaScript runs on a web server (Node.js) and has access to the filesystem, databases, and APIs. An example of client-side JavaScript is an image slider that changes images based on user interaction, while an example of server-side JavaScript is a dynamic website that generates content based on data from a database."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java Networking Interview Questions

Is it possible to send an object using Sockets, if so, how it can be?

2 Answers   TCS,


What is IP?

4 Answers  


Write the range of multicast socket IP address?

1 Answers  


Is there any difference between TCP/IP and TCP?

4 Answers  


can any one tell me how to implement tcng (Traffic Control Next Generation) with HTB (Hierarchical Token Bucket) in Java?which particular class or API is used for that?

0 Answers   Accenture,


To create a socket, you need to know the internet host to which you want to connect?

1 Answers  


Explain a time server?

1 Answers  


Explain the generic term internet.

1 Answers  


What is network interface name?

1 Answers  


What is socket in java?

1 Answers  


What is an http redirector?

1 Answers  


Explain a daytime server?

1 Answers  


Categories