Advantages & Disadvavtages of Java Script?
Advantages & Disadvantages of CGI Scripting?
Structure of Java Script?
Commands of Java Script?
HTML Basic Reviews?
Answer Posted / pankajbisane
Like all computer languages, JavaScript has certain
advantages and disadvantages. Many of the pros and cons are
related to being a client-side language.
Advantages of JavaScript
* Speed. Being client-side, JavaScript is very fast
because any code functions can be run immediately instead of
having to contact the server and wait for an answer.
* Simplicity. JavaScript is relatively simple to learn
and implement.
* Versatility. JavaScript plays nicely with other
languages and can be used in a huge variety of applications.
Unlike PHP or SSI scripts, JavaScript can be inserted into
any web page regardless of the file extension. JavaScript
can also be used inside scripts written in other languages
such as Perl and PHP.
* Server Load. Being client-side reduces the demand on
the website server.
Disadvantages of JavaScript
* Security. Because the code executes on the users'
computer, in some cases it can be exploited for malicious
purposes. This is one reason some people choose to disable
JavaScript.
* Reliance on End User. JavaScript is sometimes
interpreted differently by different browsers. Whereas
server-side scripts will always produce the same output,
client-side scripts can be a little unpredictable. Don't be
overly concerned by this though - as long as you test your
script in all the major browsers you should be safe.
Is This Answer Correct ? | 43 Yes | 6 No |
Post New Answer View All Answers
How to check if a variable is an integer in javascript ?
How do I open javascript in browser?
What is dataview in javascript?
Why is javascript used for web pages?
Name the different types of pop up boxes in Javascript?
Hello , I am using following java script to open new window in I.E,but i am facing an issue the new window hangs often while opening,when you move mouse it opens normally.Can any body help me why this is happening as i am unable to understand this issue?please please if any one know so kindly help me I am in real difficulty through this issue.Thanks 'if(window.clipboardData){clipboardData.setData("Text","' + a.PatID + '");}' + 'ordwindow= window.open ("' + @OrderDetailURL + '", "RXOrderDetail", "location=0,status=0,menubar=0,toolba r=0,scrollbars=1,resizable=1"); ordwindow.moveTo(parent.screenLeft,0);var x; x=new ActiveXObject("WScript.Shell");x.SendKeys("% "); x.SendKeys ("x"); //fcttest((sp_RX_ChangeOrderStatus ' + '''' + a.DocID + '''' + ', 1, ' + convert(varchar,@SessionID) + '));' As [W],
Is javascript whitespace sensitive?
To write messages to the screen without using "document.write()"?
Program to return the address family of a socket
What is the difference between innerHTML and innerText?
What boolean operators can be used in JavaScript?
What is enum size?
What is var and let in javascript?
How do you include a comment in javascript?
What is object in javascript?