Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Jun 2005
Posts: 20
Reputation: Drake is an unknown quantity at this point 
Solved Threads: 0
Drake's Avatar
Drake Drake is offline Offline
Newbie Poster

Uses of java

 
-1
  #1
Mar 31st, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 268
Reputation: Traicey is an unknown quantity at this point 
Solved Threads: 19
Traicey's Avatar
Traicey Traicey is offline Offline
Posting Whiz in Training

Re: Uses of java

 
0
  #2
Mar 31st, 2008
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.
Some people get so rich they lose all respect for humanity. That's how rich I want to be.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 187
Reputation: phper is an unknown quantity at this point 
Solved Threads: 15
phper's Avatar
phper phper is offline Offline
Junior Poster

Re: Uses of java

 
0
  #3
Apr 1st, 2008
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
If my post is useful please add to my reputation.
Thanks.

Ajtrichards Web Solutions | http://www.ajtrichards.co.uk
Retenovate | http://www.retenovate.com
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC