473,545 Members | 524 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.
4
2,924
thread by: viza | last post Jul 20 '05 by: Janwillem Borleffs
Hi! This does not seem to work: function cacheimage(source){ myimg=new Image() myimg.src=source } cacheimage('closed1.jpg')
1
2,566
thread by: Mich | last post Jul 20 '05 by: Mich
is the event ondragstart only for IE? In that case, how to use it in netscape 7? thank you
2
5,766
thread by: bbxrider | last post Jul 20 '05 by: bbxrider
i'm new to javascript but have programmed lots in vb, cobol, basic, etc jscript seems much more object oriented to me, much more direct manipulation of properties at least, than vb, don't know about methods yet i'm having trouble locating property 'trees' so to speak, at least for html/web and jscript objects like in this code: function...
1
1,961
thread by: Bruce W.1 | last post Jul 20 '05 by: Richard Cornford
Does anyone know where I can get the Javascript 1.2 Client-side Guide? DevEdge cuts off at 1.3: http://devedge.netscape.com/central/javascript/ 1.2 is what most scripters still use right? Thanks for your help.
1
2,838
thread by: jetmarc | last post Jul 20 '05 by: Zac Hester
Hi. I hope that .javascript is the correct group for this question. I have a device with embedded webserver. Its page offers to reset the device, with the following javascript function: function Restart() {
8
15,813
thread by: Els | last post Jul 20 '05 by: Lasse Reichstein Nielsen
Hi, i have the following script in the head of my document: <script language="Javascript"> <!-- // *********************************************** // AUTHOR: WWW.CGISCRIPT.NET, LLC // URL: http://www.cgiscript.net // Use the script, just leave this message intact. // Download your FREE CGI/Perl Scripts today! // (...
2
2,177
thread by: Juan Garcia | last post Jul 20 '05 by: Juan Garcia
Subject says it all. Given: Window A with text field. Window B with a button (onClick opens Window C) Window C with a button (onClick I want it to modify text fields of Window A) I have tried storing the handle of Window A ( var winHandle = this; ) in a global variable/file ( globals.js ) and then accessing it from
3
1,811
thread by: Rose-Marie | last post Jul 20 '05 by: Zac Hester
I composed a javascript program that worked perfectly with windows 95. However, it refuses to perform with windows XP. Might someone have any idea why this is so? Rose-Marie
1
3,340
thread by: Paul | last post Jul 20 '05 by: Wendy S
Hi, I'm trying to connect to an Access database using tomcat. I'm new to JSP so I'm not sure whether I'm doing the right thing. I'm saving the code below as "AccessConnect.jsp" under "jakarta-tomcat-4.0\webapps\jsptests\". Under the folder jsptests is an empty subfolder called "WEB-INF". Under this folder are two empty folders calles "lib"...
4
1,453
thread by: John | last post Jul 20 '05 by: John
I would like to use this script below for calculations and I get an error when I try. Hitting the Go Calculate button with no additional info should have results. I tried to email the company to fix it with no reply. Thanks. http://www.talbertmfg.com/jeepcalculator.html This one on this page works but is different from what I need....
2
1,857
thread by: terry | last post Jul 20 '05 by: Dr John Stockton
Hi, When I store cookie value "12:05:33" and read it again, I find the value become "12%3A05%3A33", how to read or convert it correctly? Thanks!
1
15,456
thread by: YT | last post Jul 20 '05 by: N Clements
Hello, Here's the situation: I have several fields split into 2 sections (Debt & Equity) on a form that should only take numerical values. The page is a mix of Javascript & ASP such that when the user visits the page, the initial values of the field are filled in by Session cookies. When the cursor leaves a field, the code checks to see if...
10
3,220
thread by: Michael | last post Jul 20 '05 by: cwdjr
How can I identify the Table that the Geocities banner is in? I tried document.all.tags("table").style.display = 'none' no matter what number I used nothing worked. Using CSS script TABLE {display:none}
2
5,363
thread by: js | last post Jul 20 '05 by: j s
Two questions: 1. I created Javascript objects called oNewObj using {} construct as in the follwoing code segment. When I clicked on the <td> element, I got runtime error "oNewObj is undefined". When I changed the <td> onclick event to doThis(this), then I can exam (this) object. However, I really want to exam the oNewObj. Does anyone...
2
29,587
thread by: aliensite | last post Jul 20 '05 by: Douglas Crockford
I am trying to pass arrays of various lengths to a function. However the values are read as a string. What is the easiest way to pass the values? <script type="text/javascript"> <!-- function foo() { var args = "start "; for( var i=0 ; i < arguments.length; i++ ) { if(i==0)
8
4,012
thread by: John Banta | last post Jul 20 '05 by: Lasse Reichstein Nielsen
Hi, I have created a 12 month calendar where each day has a check box whereby the user can indicate if that day is available or not available for a certain event. The calendar is 'drawn' in a single form rather than 12 separate forms. If the checkbox contained in each day within each month has a unique name such as 1August2003,...
1
2,703
thread by: Frank L | last post Jul 20 '05 by: Douglas Crockford
Hello, is it possible to call a js function in another html file (without switching/showing that file)? Thanx in advance Frank
1
3,913
thread by: Victoria | last post Jul 20 '05 by: Jim Ley
Hi everyone, I would like to pop up a new window when the mouse over an icon, but I don't like to link to another new page, as I will get the details in the database and then I will add those details as the text in the pop up window. Does anyone know how to do this in svg? is it use the javascript? Thanks!
2
1,757
thread by: Robert Scheer | last post Jul 20 '05 by: Jim Ley
Hi. The application I am writing will be supported on IE 5x and Netscape 6x. What are the Javascript versions these browsers support? I could not find any specific information about this topic on the MS site. Thanks, Robert Scheer
2
3,618
thread by: Bart Van der Donck | last post Jul 20 '05 by: Bart Van der Donck
Hello, I am using IE5 and have a select-box with options that have different colors. Is there a way to read out the style attribute of the selectedIndex (here: color)? See simple demo script here under. Thanks in advance, Bart
1
1,581
thread by: Robert Scheer | last post Jul 20 '05 by: Dr John Stockton
Hi. Does the language version change the way browsers read a script? <Script Language='Javascript'></Script> <Script Language='Javascript1.2'></Script> When the language attribute is only Javascript, how does the browser selects the version to be used?
3
2,390
thread by: Rosinger | last post Jul 20 '05 by: Vladdy
Hi all, What is the preferred in term of browser copatability to get a reference to an element in the document in JavaScript? I am not sure about when to use document.all or document.layers or document.getElementByID. Are they all doing the same thing? Cheers,
2
4,884
thread by: Bary W Pollack | last post Jul 20 '05 by: George Maydwell
Is it possible to have a Java Applet that is running on a web page to send/return a string (or an int) so that some JavaScript that is running on the same webpage can retrieve the information? If so, HOW? Thanks! -Bary-
1
4,873
thread by: Joe Black | last post Jul 20 '05 by: Fox
I have a js script that changes the visibilty of a selected span to "visible", but makes sure that no other related spans are visibile to the user by hiding everything first. i.e. User clicks on link for 'Box1' -> document.getElementById("box1").style.visibility="hidden"; document.getElementById("box2").style.visibility="hidden";...
2
3,294
thread by: Paul Bruneau | last post Jul 20 '05 by: Paul Bruneau
Hi, I hope someone can help me make a working shopping cart, as a learning tool. If I have a "Product Demo" html page with a "Buy Me" button, there must be a simple javascript method of storing the necessary product information. There could be several fields involved... Then there ought to be another javascript method that can create...

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.