473,543 Members | 1,903 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.
5
6,781
thread by: Sumaira Maqsood Ali | last post Jul 20 '05 by: kaeli
hi, I wanted to know if OnClick can be used outside forms also? like can plain text have the OnClick event handler associated with it? thanks Sumaira
1
1,281
thread by: Xerxes | last post Jul 20 '05 by: Xerxes
Hi, I have a form that upon clicking "Submit" emails the contents to a recipient. Is it possible to have a form printed as well on the recipient's printer? (in case they are too pooped to click on the Print button on their Outlook!!) Thanks.
1
1,579
thread by: Jeff Johnson | last post Jul 20 '05 by: DU
Hi Everybody, I have a function that works great in IE but fails in NN. Would someone please give me some insight as to how to correct this: function init(){ var oFrame = parent.frames; if (typeof(oFrame.divSummary) != 'undefined'){***** fails here! updateContent(oFrame);
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,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...
2
2,176
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
2
16,543
thread by: splish | last post Jul 20 '05 by: splish
Hello, I have the following problem: An Iframe exists inside a page (that has content exceeding the height, therefore scrollbars kick in) - normal stuff. When I want to use anchor references inside the Iframe the parent page is affected also, in that it jumps to the top of the iframe, as though there were an anchor at that point.
8
4,011
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,...
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')
2
6,890
thread by: Crescionini Sascha | last post Jul 20 '05 by: Lasse Reichstein Nielsen
hello ng is there a way to get the selected item-label (not value) of a dropdown-element using js? any idea? greets sascha
1
5,175
thread by: Marco Dieckhoff | last post Jul 20 '05 by: HikksNotAtHome
Hi! I'm trying to use a combination of windows.print() followed directly by history.back(). The desired effect is to print the shown window and go back to that one before. I'm presenting a user a database result screen that's only generated to be printed.
13
40,637
thread by: Dan R Brown | last post Jul 20 '05 by: Dom Leonard
I have a large form that is generated dynamically in a jsp using xml / xslt. So, to break up this form into several "tabbed" sections, I break up the form using <div> tags. Each <div style="display:none"> can be displayed by setting the style attribute to "display:", or hidden with "display:none". This gives the illusion that the person...
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.
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,455
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...
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"...
3
5,005
thread by: Bruce W.1 | last post Jun 27 '06 by: Elzin
Can anyone recommend a Javascript debugger? I see where debuggers are made by Netscape, Microsoft and Macromedia (built-in to Dreamweaver). I'm new to javascript so any comments are appreciated. I'm mainly interested in making scripts work in IE, for starters anyway. I'm using Dreamweaver MX and will probably be developing ASP.NET...
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
1
1,580
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?
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)
3
4,095
thread by: David | last post Jul 20 '05 by: Evertjan.
Hi, I have a graphic with a rollover for site navigation on each page. I put the page to go back to in the rollover javascript. My question is, is it possible to put in some code that will refer the visitor back to whatever page they came from rather than one I specify? The rollover is combined with a tooltip script to make matters fun
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,
1
4,349
thread by: David | last post Jul 20 '05 by: Grant Wagner
Hi, I use the following code to open a javascript window. Is it possible to modify this to have the standard toolbar open in the window? Thanks <script language="JavaScript" type="text/javascript"> function popup() {
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!

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.