473,789 Members | 2,496 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

error with javascript - please help

For some reason I am unable to access documents in Javascript.

eg - tried to register on a site, and when clicked on register, blank
screen came up with this address:

"javascript:sub mit_form('toreg ister_form')"

and "done" in bottom left hand corner.

Not being very technical minded - anybody know what I have done wrong,
or is there someting I need to download.

Many thanks,

Pat Mahoney
Jul 20 '05 #1
8 1456
In article <2e************ *************@p osting.google.c om>,
pa********@btin ternet.com enlightened us with...
For some reason I am unable to access documents in Javascript.

eg - tried to register on a site, and when clicked on register, blank
screen came up with this address:

"javascript:sub mit_form('toreg ister_form')"

and "done" in bottom left hand corner.

Not being very technical minded - anybody know what I have done wrong,
or is there someting I need to download.


What browser?

--
--
~kaeli~
Jesus saves, Allah protects, and Cthulhu thinks you'd make
a nice sandwich.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #2
microsoft internet explorer is my browser

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #3
In article <40************ ***********@new s.frii.net>,
oa********@btin ternet.com enlightened us with...
microsoft internet explorer is my browser


What version? Service Pack?
Help->About Internet Explorer
I use 6.0.28 SP1

If you're using anything under 5.5, upgrade if possible.

Check for errors in the site's script by looking at the lower left hand
corner of the window for a little yellow exclamation point. If you see
that, it's the site that has the problem, not your browser. Click on the
exclamation point for a detailed error message.
By default, IE will NOT show errors, IIRC. It just stops processing and
shows the yellow bang.

If no error exists in the page's code, save the following as test.html
somewhere in my documents or something.

----------
<html>
<head>
<title> New Document </title>
</head>

<body>
<a href="javascrip t:alert('hi'); return false;">say hi</a>
</body>
</html>
------------

Open that in IE with File->Open and click on the link.
Did it work?
If it doesn't alert a 'hi', you might have script disabled. If it does,
you might have your security settings too high and other sites can't run
script.

We'd have to further debug from there.

--
--
~kaeli~
Those who jump off a bridge in Paris... are in Seine.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #4
Thanks for help so far - I copied your message and saved it as
test.html - tried to open it in Internet Explorer, but could not find
the link.

Pat

kaeli <ti******@NOSPA M.comcast.net> wrote in message news:<MP******* *************** **@nntp.lucent. com>...
In article <40************ ***********@new s.frii.net>,
oa********@btin ternet.com enlightened us with...
microsoft internet explorer is my browser


What version? Service Pack?
Help->About Internet Explorer
I use 6.0.28 SP1

If you're using anything under 5.5, upgrade if possible.

Check for errors in the site's script by looking at the lower left hand
corner of the window for a little yellow exclamation point. If you see
that, it's the site that has the problem, not your browser. Click on the
exclamation point for a detailed error message.
By default, IE will NOT show errors, IIRC. It just stops processing and
shows the yellow bang.

If no error exists in the page's code, save the following as test.html
somewhere in my documents or something.

----------
<html>
<head>
<title> New Document </title>
</head>

<body>
<a href="javascrip t:alert('hi'); return false;">say hi</a>
</body>
</html>
------------

Open that in IE with File->Open and click on the link.
Did it work?
If it doesn't alert a 'hi', you might have script disabled. If it does,
you might have your security settings too high and other sites can't run
script.

We'd have to further debug from there.

--

Jul 20 '05 #5
In article <2e************ **************@ posting.google. com>,
pa********@btin ternet.com enlightened us with...
Thanks for help so far - I copied your message and saved it as
test.html - tried to open it in Internet Explorer, but could not find
the link.


I'm an idiot. :)

One more try.

<html>
<head>
<title> New Document </title>
</head>
<body bgcolor="white" >
<p>
<font color="black">
<font size="3">
<a href="javascrip t:alert('hi');" >say hi</a>
</font>
</font>
</p>
</body>
</html>

(oh, if your browser were set to show errors, you'd have seen my error
immediately at the return statement)

--
--
~kaeli~
Dijon vu - the same mustard as before.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #6
Still no luc - openedd link and it just opened as a web page.

Any suggestions??

Pat

kaeli <ti******@NOSPA M.comcast.net> wrote in message news:<MP******* *************** **@nntp.lucent. com>...
In article <2e************ **************@ posting.google. com>,
pa********@btin ternet.com enlightened us with...
Thanks for help so far - I copied your message and saved it as
test.html - tried to open it in Internet Explorer, but could not find
the link.


I'm an idiot. :)

One more try.

<html>
<head>
<title> New Document </title>
</head>
<body bgcolor="white" >
<p>
<font color="black">
<font size="3">
<a href="javascrip t:alert('hi');" >say hi</a>
</font>
</font>
</p>
</body>
</html>

(oh, if your browser were set to show errors, you'd have seen my error
immediately at the return statement)

--

Jul 20 '05 #7
In article <2e************ **************@ posting.google. com>,
pa********@btin ternet.com enlightened us with...
Still no luc - openedd link and it just opened as a web page.

Any suggestions??


Well, we now know it is your browser having issues and not that site.
So, next thing is to check your settings.

I use IE6, and the settings are in a different spot for some stuff than
5, so let me know if you can't find this.
Anyways, go to Tools->Internet Options and click on the Security Tab.
If Internet (the little globe) isn't highlighted, click on it to
highlight it.
Check to be sure the setting is NOT at high.
If the setting is on Custom, click the custom button to show the
settings.
Scroll down to Scripting
Make sure Active Scripting is enabled.

Let me know if that fixes it.

Also, you're not using Windows 98 or below with IE6, are you? They
aren't compatible.

If you have IE5/6 with Win2000 or XP:
Did you try repairing IE?
Open the Control Panel's Add/Remove Programs, click MS Internet
Explorer to highlight, click the Add/Remove button, select Repair IE.

Another suggestion for Win2K/XP: reinstall WScriptHost.
http://members.aol.com/pattyoh105/vb_wsh_a.htm
--
--
~kaeli~
Press any key...NO, NO, NO, NOT THAT ONE!!!!!!
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #8
Thanks for your help so far, but I am afraid not having any luck!

"Active scripting" is enabled but not making any difference!

Anything else I can do??

Pat

kaeli <ti******@NOSPA M.comcast.net> wrote in message news:<MP******* *************** **@nntp.lucent. com>...
In article <2e************ **************@ posting.google. com>,
pa********@btin ternet.com enlightened us with...
Still no luc - openedd link and it just opened as a web page.

Any suggestions??


Well, we now know it is your browser having issues and not that site.
So, next thing is to check your settings.

I use IE6, and the settings are in a different spot for some stuff than
5, so let me know if you can't find this.
Anyways, go to Tools->Internet Options and click on the Security Tab.
If Internet (the little globe) isn't highlighted, click on it to
highlight it.
Check to be sure the setting is NOT at high.
If the setting is on Custom, click the custom button to show the
settings.
Scroll down to Scripting
Make sure Active Scripting is enabled.

Let me know if that fixes it.

Also, you're not using Windows 98 or below with IE6, are you? They
aren't compatible.

If you have IE5/6 with Win2000 or XP:
Did you try repairing IE?
Open the Control Panel's Add/Remove Programs, click MS Internet
Explorer to highlight, click the Add/Remove button, select Repair IE.

Another suggestion for Win2K/XP: reinstall WScriptHost.
http://members.aol.com/pattyoh105/vb_wsh_a.htm
--

Jul 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2209
by: TeknoCat | last post by:
Hey everyone, I may be repeating myself here, but if someone sent a reply then I missed it, and I can't get Outlook Express to download any messages more than 2 days old. Anyway, I'm having a problem with some new pages I am creating for the Web site at www.weaverdevore.ca and I am wondering if anyone here might be able to help. Here is a full description of the problem:
2
9801
by: Chuck Martin | last post by:
I am having a most frustrating problem that references, web searches, and other resources are no help so far in solving. Basically, I'm trying to design a pop-up window to be called with a funciton in a link. that function can have parameters for URL and window name passed to it. This works peachy in Firefox (1.0). With IE 6 (6.0.29) on two separate computers, I get an "onject expected" error. Going to the MS-based debugger just tells me...
24
2769
by: jrefactors | last post by:
I have an upload file operation in the web application. UploadForm.jsp is the form, and UploadAction.jsp is the form processing. The web server is Websphere. //UploadForm.jsp <FORM NAME="InputForm" ACTION="UploadAction.jsp" METHOD="POST" enctype=multipart/form-data> <input type="file" name="fileName"> //etc ...
2
1182
by: New guy.. please help | last post by:
"New guy.. please help" wrote: Hi, I'm a new kid onthe block.. I have a small company with a website that was developed in .net by a company for me. I want to work on it myself so I installed 2000 server at home and the added the .net framework. I can navigate for page to page with out any issue. When I click on a button to execute javascript:navigate I get and error ; Navigate.js is a script that executes "getelementbyid"
9
1593
by: VancouverMike | last post by:
Hi there, I run into a very strange problem. I got the following url and am passing information via query string. The problem when the "sin" key in query string is blank, shown as in the following querystring, I got an error message saying "Unterminated string constant" from IE 6.0 and asking me if I want to debug. When I click Yes button, nothing happened and the page just shows up. When I put anything as a value for "sin" key, IE...
1
1991
by: JumpingOffPlace | last post by:
Hi, I'm hoping that the wealth of knowledge here can stop me from spinning my wheels on this syntax error for hours. :) Below is the code, and the error I am recieving.... Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <%@ taglib uri="/WEB-INF/tag-lib/struts-html-el.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/tag-lib/struts-bean.tld" prefix="bean" %>
6
1838
mmarif4u
by: mmarif4u | last post by:
Hi everyone. i make a page that a user input thier icnumber with confirm ic number, it saves the data to mysql db with current date and a random access code generated automatically, NOW i have some problems facing.. 1: How to match both txt box vlaues that r same or not.Is there php code for it. 2: I want to put a print button in the code where the code display the page after entring the icnumber and after submit. 3: How to show the...
6
1345
by: shror | last post by:
I need your help please in an aspx webpage. I have 2 combo boxes in the page The first combo load and when i select item from it then the other combo should be loaded then and this cenario work fine in Fire Fox but on Internet Explorer when i select the item from the first combo it doesn't load the second combo but it gives the yellow error mark in the statusbar <error in page> and the says error:
2
6647
by: ZeeHseez | last post by:
Hi, I have written a webbrowser application in VB .net Framework 1.1. I would like to suppress javascript error messages. However, the silent property of the webbrowser control suppresses the Javascript messages, but it also blocks any other dialog box, such as Login dialog, i can't use the silent property. I used http://support.microsoft.com/default.aspx?scid=kb;EN-US;279535 article to suppress the error messages. It works fine until a...
8
8948
by: =?Utf-8?B?Q2hyaXMgSGFsY3Jvdw==?= | last post by:
Hi there I've successfully added some .NET validation controls to a page (using <asp:RequiredFieldValidator ...), however when I try to set the 'display' property to 'dynamic', my page then throws up the following error in the browser: CS1061: 'System.Web.UI.WebControls.TextBox' does not contain a definition for 'Web' and no extension method 'Web' accepting a first argument of type 'System.Web.UI.WebControls.TextBox' could be found...
0
9663
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9506
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10404
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10136
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9016
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7525
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5415
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3695
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2906
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.