473,616 Members | 2,970 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript Forum

JavaScript web scripting language - Ask questions about JavaScript development, jQuery, Vue, React, the DOM, cross-browser scripting, event handling, OOP, cookies, client-side form validation, built-in objects like Date, String, Array and Object, performance and more.
1
1,599
thread by: Web Master | last post Jul 20 '05 by: Web Master
The following works in Internet Explorer 6 and Opera, but not Netscape 7.1. Is there any way to make this work in all three browsers? <html> <head> <title>Menu</title> </head> <body> <div style="position: absolute; left: 250; top: 172; width: 62; height: 115"
6
4,336
thread by: Charles Banas | last post Jul 20 '05 by: Charles Banas
weird subject - i hope more than just one curious regular will hear me out. :) ok, i've got a bit of a big problem, and i need answers as soon as possible. i know this forum is meant for web developers, but is relevant discussion. i'm not OT here unless someone thinks i'm trolling (which i'm not, obviously). then i'll disappear and...
1
1,860
thread by: Whitney | last post Jul 20 '05 by: Grant Wagner
On the left side of the main webpage I have some menu options that have a drop-down feature that is controlled with javascript. You click on the main heading and the links for that section show up. Click on it again and they disappear. This works great in IE6 but doesn't seem to work in Netscape 7. I have included the main javascript code...
2
1,873
thread by: Craig | last post Jul 20 '05 by: Lee
Here is some javascript checking I have for form validation. The problem is is that it loops..... How can I make it stop ? IF I click on the last name text box, it scolds me, saying the first_name needs to be filled out. I click ok, and it says the last_name needs to be filled out...i click ok and it says the first_name needs to be filled.....
4
42,385
thread by: Aaron DeLoach | last post Jul 20 '05 by: Dr John Stockton
I may have cross-posted this... :-( I'm a VB programmer getting *way* to deep into this wonderful new JS venture. I looked around for a function like VBs' IsNumeric without much success. I had to roll my own. Does anyone see any bugs in this? function IsNumeric(expression) { var nums = "0123456789";
1
1,971
thread by: J. Muenchbourg | last post Jul 20 '05 by: Dr John Stockton
I have 3 select pulldown boxes where a user will select a year (either 2002 or 2001), a week (one thru 52), and a database (short data or long data). But if a user selects a week that is less than 4, the 3rd select pulldown will only show the choice of "short data", as they will not be able to select "long data". Is it dynamically possible in...
3
6,531
thread by: Marnix | last post Jul 20 '05 by: Marnix
Hi I know only little of javascript and have trouble with the syntax of a function this is the function function ClipBoard( VARIABLE) { holdVARIABLE.innerText = VARIABLE.innerText;
2
1,871
thread by: news.dev.ict.nl | last post Jul 20 '05 by: Ton den Hartog
Hi, I want to show the value of a counter-variable that is incremented with a button. How do I refresh the page after the button is pressed ? Looks pretty basic but I cannot find the answer in the books..... Below is a simple example that shows what I want Ton den Hartog
1
27,007
thread by: Sol | last post Jul 20 '05 by: David Dorward
Hi, is it possible to disable an element using CSS? instead of using document.getElementById("someButton").disabled = true I would like to use <style> ..someButton {disabled : true; background : "#D3D3D3"} </style>
1
1,823
thread by: BlackSabbath | last post Jul 20 '05 by: Gill Bates
I would open automaticily the page Product125.htm in the right frame with MyFrameSet.htm?Product125.htm Is it possible ? Content of MyFrameSet.htm : <frameset cols="30%,*"> <frame name="menu" src="menu.htm" scrolling="no" frameborder="no">
3
2,591
thread by: Robert Mark Bram | last post Jul 20 '05 by: Robert Mark Bram
Howdy all! When do I call something a property and when do I call something an attribute? It has me a little confused at the moment! Any advice would be most appreciated! Rob
3
12,686
thread by: Dan | last post Jul 20 '05 by: Dan
Hi, When i click down with the mouse, i want to be sure that the image "myimg" is clicked before doing something. With IE i use 'srcElement' and it works: <IMG ID="myimg" SRC="bugs.gif" onMouseDown="downtest()"> <script> function downtestIE() {strid =window.event.srcElement.id if (strid=="myimg")
1
2,580
thread by: Stone | last post Jul 20 '05 by: Vjekoslav Begovic
OK .. admittedly this is newbie dumb... Its a JAVA script in a FORM I have passed (successfully) the referring URL into my form page on loading.... <script language="JavaScript"><!-- // THIS IS THE URL FROM THE REFERRERING PAGE! var originalURL = unescape(location.search.substring(1)); //alert(originalURL ); // this works!
2
3,691
thread by: Dave | last post Jul 20 '05 by: Dave
Can I determine if an array of image links is already in memory without using cookies or a hidden frameset? Scenario: visitor starts with Home page, images (links) for navigation pre-load no problem. Visitor follows search engine link and does not land on Home, thus no links. But if I put the same code on every page to allow for that, won't...
4
6,631
thread by: A.S. | last post Jul 20 '05 by: Richard Cornford
Hi, I have the following simple code: <TABLE><TR> <TD BGCOLOR="#FFFFFF" ONCLICK="myform.color.value = this.bgcolor">hello</TD> </TR></TABLE> <FORM ACTION="hello.cgi" NAME="myform" ID="myform">
3
2,677
thread by: Heath | last post Jul 20 '05 by: Heath
Using MSIE 5+ Heath writes: My problem deals with working with window objects between pages as follows: My Introduction page contains a link to my Action page. The onClick of that link creates a series of random numbers that are appended to the end of the url of the Action page. After initiating the link the URL of the Action page looks...
2
3,677
thread by: Chris Smith | last post Jul 20 '05 by: Andrew Urquhart
The Situation: I've got a frameset that loads two other pages in frames. Frame A creates an object, and the FrameB needs to invoke a method on that object. The Problem: How does Frame B find out when Frame A has finished creating the object? If Frame A hasn't finished creating the object yet, I want Frame B to
1
1,944
thread by: Atz | last post Jul 20 '05 by: Vjekoslav Begovic
How to open existing page in the mainFrame. My start page has 4 frames and on the left side are menu links in table, with some effects . Like: <td height="23" align="center" valign="center" bordercolor="#666666" bgcolor="#E1E1E1" style="cursor:hand" onclick="window.location='page1.html'" onmouseover="bgColor='#FFFFCC'" ...
9
13,836
thread by: Chris Smith | last post Jul 20 '05 by: Chris Smith
Been banging my head against this one for some time. I'm attempting to use XmlHTTPRequest to read an XML document from the web server and interact with it using the DOM. So far, I've had less than perfect luck with IE. What I've established: - In IE, the responseXML property sometimes returns an empty document. - It always does so when...
2
7,724
thread by: Brian Vallelunga | last post Jul 20 '05 by: Brian Vallelunga
I'm working on an asp.net site and am trying to implement a popup help window. I want the window to close when the user advances to the next page in our application. The thing is, I'm doing this on a component basis and I don't have access to the body tag from within my help component, so I can't add the onunload tag. Is there some other way...
1
3,398
thread by: George Ziniewicz | last post Jul 20 '05 by: Grant Wagner
.. I have an html file with javascript functions in the <head> section that work fine when called from events or instanced as objects. When I move the functions to an external js file they don't work (timers don't run). What pitfalls are there in having "external" functions, is there a scope problem like in c?
1
1,372
thread by: Frank L | last post Jul 20 '05 by: kaeli
Hi, in a function I want to link to different pages depending on a something. What's the command to link to/show a (disk or internet) page in the existing browserwindow? Thanx Frank
1
4,531
thread by: Patrick Gibbons | last post Jul 20 '05 by: Dr John Stockton
I would like to know what keycode # pertains to what keycode . . . This code allows a user to limit the entries in a form to only those keycodes they would like, #s only for US zip codes, for example. What I would like to know is what keycode #s pertain to what keycode. There should be a list out there somewhere, no?...
4
13,206
thread by: Hugo Sousa | last post Jul 20 '05 by: Lasse Reichstein Nielsen
Hello, I have a page that cannot be accessed by typing is url. It should only be accessed by a link in another web page. The following scrip works fine: <script> <!-- var validreferrals=new Array() validreferrals="http://pdc/test/index.htm" validreferrals="http://pdc/test/index2.htm"
3
7,439
thread by: BlackSabbath | last post Jul 20 '05 by: BlackSabbath
Hi, all I try to explain (with my #@^^~ english..., sorry...) : I have a page e.g. Product125.htm I would that, if a guy call http:\\www.MySite.htm\Products\product125.htm to force the load of the "normal" frameset to provide a "normal" menu at the left of the screen...

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.