codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Javascript compromised in Windows XP  Hey Jude! at 18:59 on Thursday, November 06, 2003
 

I have written a small javascipt to validate a form on my webpage. It works great on Windows NT, but on my computer at home (Windows XP) the scipt does not run. I've been told that XP had some licensing issue with Sun, so javascript capability was stripped out of XP. I've been told I need to do some kind of server-side scripting to validate my form and so get around the javascript problem. What do you suggest? Thanks.

  Re: Javascript compromised in Windows XP  Troy Wolf at 20:13 on Wednesday, November 12, 2003
 

Javascript stripped out of XP? Huh? No. This simply is not true. I write hundreds of lines of javascript in my web applications, and the scripts run fine in XP and others. (I use the term "fine" loosely here! They run OK after I spend hours banging my head against the wall debugging my code! <g>)

It is more likely simply a browser security setting on your home computer. In IE, click Tools, then Internet Options, then the Security Tab. Are you using a standard security setting or a custom setting? Make sure that "scripting" is enabled for your selected security setting.

Then, create a new text file called test.html and copy and paste this into it:
<script language=javascript>alert("Scripting Works!")</script>

Now just double-click this file. If you see the popup, scripting is enabled and working on your computer. Use alerts like this at different places in your script to find where your script is failing.

Good luck!
Troy Wolf: site expert
Shiny Solutions









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  XML- Passing parameters are Latitude and Longitude.
•  Re: Format Date time issue....
•  Re: How to freeze the web page when displaying progress bar?
•  Re: Help! IFrames!
•  Re: Help: Trouble with z-Index and SELECT lists
•  Re: HOW CREATE LINE CHARTS IN ASP.NET
•  How to store and retrieve document into database
•  Re: text field multiple
•  Re: after updation of a table open another program .. need help


Recent Articles
Communicating with the Database (Using ADO)
MagicGrid
Simple Thumbnail Browsing Solution
Type Anywhere
A Better Moustrap: FmtDate to replace FormatDateTime
ASP.NET Forum Source Code
Internal Search Engine
Javascript Growing Window
Simple date validation
Search engine friendly URLs using ASP.NET (C#.NET)


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2005