•
•
•
•
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 391,825 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 3,718 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: 522 | Replies: 2
![]() |
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.
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.
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
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.
•
•
Join Date: Nov 2006
Location: South Wales
Posts: 159
Reputation:
Rep Power: 2
Solved Threads: 10
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
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
ajtrichards web solutions
http://www.ajtrichards.co.uk
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
- Java/J2EE Senior Software Engineer (Software Development Job Offers)
- Front-end Java Software Engineer for Digital Video/Media Market Leader (Software Development Job Offers)
- Senior Software Engineer (Java) (Web Development Job Offers)
- Java Software Engineer (Software Development Job Offers)
- Java Front-end Developer Engineer for Stealth Media Start-up (Software Development Job Offers)
- Java Developer Required (Software Development Job Offers)
- FT Junior Java Developer Needed for Major Media firm in NYC (Software Development Job Offers)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: pass optional parameters by name
- Next Thread: increment array


Linear Mode