943,960 Members | Top Members by Rank

Ad:
Mar 31st, 2008
-1

Uses of java

Expand Post »
i have been researching into java script and have found that uses of it include field validations and online calculators.
What type of disadvantages does java script have, is there nay major security issues with it??
Would be great for you to help
thanks.
Last edited by Drake; Mar 31st, 2008 at 6:12 am.
Reputation Points: 9
Solved Threads: 0
Newbie Poster
Drake is offline Offline
20 posts
since Jun 2005
Mar 31st, 2008
0

Re: Uses of java

The most advantage of JavaScript is that most browsers support javaScript where as only internet explorer support VBScript

The problem about script is that everytime you run them they have to be interpreted into machine readable language (i.e) the language that is understandable by computer processor which is binary... and they are interpreted one line at a time and they coz the program to be slow

Eding to that we have normally 2 types of script which are server-side script and client -ide script... client-side script are executed in the client workstation before u can send the form to a web server. client side script are shorter and they perform the following..... Validate and enhance HTML forms.... Manipulate and display XML data that the Web Page developer embeds in an HTML document..... Link to, manipulate and display XML data sent in a separate file sent to the client.... Create and read cookies that store user preference and selection on the client workstation..... Display new web pages in the current browser window or in new browser window..... control web page content and appearance
Last edited by Traicey; Mar 31st, 2008 at 7:23 am.
Reputation Points: 26
Solved Threads: 19
Posting Whiz in Training
Traicey is offline Offline
283 posts
since Mar 2008
Apr 1st, 2008
0

Re: Uses of java

JavaScript can be disabled by the client browser. If you used JavaScript solely for error checking then it may result in corrupt data or malicious code being processed.

I recommend using Client & Server side checking for form submissions & validation. This will minimize the risk of incorrect/missing data.

Regards,
Alex
Reputation Points: 15
Solved Threads: 17
Junior Poster
phper is offline Offline
189 posts
since Nov 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: pass optional parameters by name
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: increment array





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC