User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 375,199 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,065 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 496 | Replies: 2
Reply
Join Date: Jun 2005
Posts: 19
Reputation: Drake is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Drake's Avatar
Drake Drake is offline Offline
Newbie Poster

Uses of java

  #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 5:12 am.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2008
Posts: 169
Reputation: Traicey is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 16
Traicey's Avatar
Traicey Traicey is offline Offline
Junior Poster

Re: Uses of java

  #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 6:23 am.
Some people get so rich they lose all respect for humanity. That's how rich I want to be.
Reply With Quote  
Join Date: Nov 2006
Location: South Wales
Posts: 159
Reputation: phper is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 10
phper's Avatar
phper phper is offline Offline
Junior Poster

Re: Uses of java

  #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 you find my post useful please add to my reputation!! Thanks!

ajtrichards web solutions
http://www.ajtrichards.co.uk
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 2:31 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC