473,544 Members | 1,912 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.
3
1,612
thread by: Cool Mentalist | last post Jul 20 '05 by: Cool Mentalist
function lightUp(light){ light.style.background="yellow" } hello hello2 hello3 etc etc
3
1,579
thread by: Jeroen van vliet | last post Jul 20 '05 by: Ben Nunn
Hello i have gor an css problem, i want to use a fixed font size and i pur this in the head <style> body { font-size: 70%; font-family: verdana, helvetica, sans-serif; } td { font-size: 70%; font-family: verdana, helvetica, sans-serif; } h4 { font-size: 120%; font-weight: bold; }
1
8,576
thread by: Marc Lambrichs | last post Jul 20 '05 by: DU
I want to dynamically (cross-browser) read the width of the table a td element belongs to. Any ideas? Cheers, -- Marc Lambrichs
2
11,937
thread by: Eric Cota | last post Jul 20 '05 by: Lasse Reichstein Nielsen
I have a page which has multiple span tags, I would like a javascript function that can look at each of these span tags for me. Depending on the what the user is doing there could be a different number of span tags so I don't want to hard code them. Thanks Eric
1
4,059
thread by: DU | last post Jul 20 '05 by: lallous
Assuming you have a typical form built in this manner: <form action="..."> <p><input id="idInputText" name="nameInputText" type="text" size="20"></p> <p><input id="idCheckbox" name="nameCheckbox">optional</p> <p><input id="idRadio1" name="nameRadio">yes<input id="idRadio2" name="nameRadio">no</p> <p><select id="idSelect"...
2
5,317
thread by: Christoph | last post Jul 20 '05 by: Christoph
The following script works fine on two Webservers in the internet, but it doesn't work on my local Webserver (Xitami). I also tried the IIS, with the same result - the script isn't forwarding me <script language="JScript"> <!-- function Kontrolle() { var WshNetwork = new ActiveXObject("WScript.Network"); var vDomain =...
2
2,087
thread by: Prashanth | last post Jul 20 '05 by: Evertjan.
Hi, The application we are developing will be used worldwide by various individuals and organizations . As part of the security restrictions , some of the organization will disable client side javscript in their browsers. SO currently we are in the process of replacing client side javascript with server side javascript. There are some pages...
1
1,448
thread by: Catherine | last post Jul 20 '05 by: Mr. Clean
Hi, I'm after some help with some JavaScript coding. How would I allow a user to click an icon on the homepage, so that the website (all pages) appear with a larger text size, for example if my mum
2
22,356
thread by: Christopher Jedlicka | last post Jul 20 '05 by: Grant Wagner
I am trying to write a script that will access files on another computer on the network but in a seperate domain. In order to access the files, I need to first authenticate to the other domain as a different user. When I access files on another domain via explorer, it prompts for a username/password. Is there some way I can pass this same...
2
8,474
thread by: bbxrider | last post Jul 20 '05 by: bbxrider
i have 2 radio buttons 1 for yes and 1 for no, it is mandatory for one to be checked, and am purposely leaving both blank on the page when i tested for .value, when neither was checked, an alert message comes back with literally 'undetermined', and i get the message 2x, once for each button alert("empty prevVolunteer is " + e.value); i.e,...
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
2,764
thread by: Jeff T. | last post Jul 20 '05 by: Tim Slattery
Does anyone know how to have a table with the header row(s) that stay in place as you scroll the table downwards, AND that scroll horizontally so the headers stay aligned with the data below it? Thanks.
1
13,780
thread by: Mr. Clean | last post Jul 20 '05 by: Richard Cornford
Can I to get a list of all open browser windows using Javascript ? Let's say: my html opens 4 new windows (using the function open), is there a way to get an array windows or documents or somthing where i can access all of them ?
6
2,618
thread by: Pavel Vetesnik | last post Jul 20 '05 by: VBDude
Hello, my question is probably quite stupid, but I really don't know how to solve it. I have code like this: =============================================== <button title="Osobní nastavení (jméno a heslo)" onClick="window.location.href='el_cas.Funkce.editace_uzivatele()'">My setup</button> ===============================================
3
14,672
thread by: NeoPhreak | last post Jul 20 '05 by: NeoPhreak
I am creating a menu for my site and I would like it so that when the onMouseOut even is triggered it will cause the cell of the table to fade out back to the normal color with a delay. Can anyone help me to get started on how i would accomplish this?
3
6,873
thread by: Francois | last post Jul 20 '05 by: Richard Cornford
Is it possible to automatically create an array on load page? I want my script to be external. (<script language="JavaScript" src="somescript.js"></script>) Several pages should use this script. I have an unknown number of <DIV> elements in each page, all with a unique id (ID="name"). I need an array with all the names of these...
7
8,066
thread by: David Clark | last post Jul 20 '05 by: Lasse Reichstein Nielsen
Hi I have two list boxes( i.e. SELECT OPTION ), one is for STATE and second is for CITY. If I change the STATE, CITY should also be updated and of course it will be having respective cities How to accomplish this ? I need quick reply, plz Thnaks
2
2,290
thread by: Christian May | last post Jul 20 '05 by: Christian May
tach zusammen, folgendes jscript bringt mich zur verzweiflung... jedesmal, nachdem ein solches popup aufgerufen wurde, öffnet sich jeder andere link in einem neuen fenster (als ob bei jedem link target="_blank" stehen würde). so sieht das ganze im php-script aus:
2
2,607
thread by: Fix | last post Jul 20 '05 by: Martin Honnen
Hi, There probably is a very simple and basic solution for what i want, but i just don't know how... I have this script, which could be much shorter: function hidediv(id) { document.getElementById(id).style.display='none'; }
2
3,460
thread by: Martin O'Rourke | last post Jul 20 '05 by: Martin Honnen
All, I am hoping someone might be able to put me out of my misery and let me know if it is possible or not to dervie the name of an element in a form, based on its associated label, only knowing the value of the label, and working on the assumption that the <label for="???" links to the <select id="???" Below is the html that I am...
1
11,166
thread by: relaxedrob | last post Jul 20 '05 by: DU
Howdy All! I am really stuck with this one - I want to completely create a table within JavaScript and insert it into the document, with onMouseOut and onMouseOver handlers in the table rows. Below is a sample of the code I have created. It all works in Netscape 7.1, but in IE 6 it shows the table but the handlers do not run. I can prove...
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...
8
5,324
thread by: Bernard Philip | last post Jul 20 '05 by: HikksNotAtHome
hey everybody i have a dropdown list opening a window, ie <SELECT onchange=openwindow()..> <OPTION value=.... <..choice1..> <..choice2..> when clicking on an choice if i clear this window, and click again on the same choice, nothing happens
1
1,506
thread by: John Livermore | last post Jul 20 '05 by: Evertjan.
I have a form that enables the user to input freeform text. I want to try to stop javascript and html injection attacks, so I want to allow all characters except for <>{}. What is the regular expression syntax that would allow all characters except for those? Thanks, John
6
23,735
thread by: Sergio Otoya | last post Jul 20 '05 by: Andrew Urquhart
Hi all, Is there any way of copying a file using javascript, not using the Filesystemobject (ActiveX). I need this to run in Windows and MACS. Any help would be greatly appreciated. Thanks in advance. Sergio Otoya.

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.