473,544 Members | 1,213 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
4,302
thread by: rh | last post Jul 20 '05 by: rh
Executing the script given below Opera, Netscape and Mozilla successfully load the js file in both the "main" and "test" window. However, while IE 6 manages to load OK in "main", it produces the "Load failed in test" alert. IE behaviour is the same if a local file is used for the js source, so the problem doesn't appear to be zone security...
2
8,500
thread by: Simon Wigzell | last post Jul 20 '05 by: HikksNotAtHome
What is the call? Better yet is there a link to a page that describes all the possible javascript calls to the various browser menu items and explains compatibility across different browsers? Thanks!
6
13,826
thread by: Dave | last post Jul 20 '05 by: Dave
Hi, With this code, I thought that any 'click' with the mouse would be captured on the window level and nothing would happen, but a click on the button triggers nevertheless the function hit(). Why is it not directed to the function IgnoreEvents instead of the function hit? .... <script> window.top.captureEvents(Event.CLICK)...
2
1,812
thread by: Robert Mark Bram | last post Jul 20 '05 by: Robert Mark Bram
Howdy All! Can anyone help with using "this" here please? function TestObject() { this.one = one; this.two = two; } // end TestObject constructor
2
4,977
thread by: steve | last post Jul 20 '05 by: steve
Hi every one Can I have two or more onMouseOver events and how if yes. I have this image and I wan to add bowlf of this onMouseOver events how do I do it onMouseOver="return setStatus('Click to display picture.')" onMouseOut="return setStatus('')">
4
2,030
thread by: hivan | last post Jul 20 '05 by: hivan
I have an Agenda with calendar: I would like than when i click over a date it open a link. The function is: function fAddEvent(y,m,d,message,action,bgcolor,fgcolor,bgimg,boxit,html) { _agenda=; } My command is: fAddEvent(2003,8,15," Buon Ferragosto! ","popup('a href=http://www.yahoo.com')","#00ff00","red");
5
6,593
thread by: kelvin | last post Jul 20 '05 by: Lasse Reichstein Nielsen
How do I use get data in a url sent from aform on an other page. All i want to do is take this data and display it on the page. thanking you in anticipation
1
1,891
thread by: Csaba2000 | last post Jul 20 '05 by: Csaba2000
I am going nuts on this. Am I just blind, or is there some bug either in my code or IE? Nutshell version: I have a content editable div that is supposed to show its entry in red if it is not what it started out with. This works, EXCEPT if the content is completely erased(!) character by character, starting from the right(!). In that case,...
3
3,103
thread by: Patrick | last post Jul 20 '05 by: George M Jempty
Hi I am currently learning JS and have heard a lot of good about that book even if it's a reference and better suited for intermediate to experienced users. My local bookstore has both the 3rd and 4th edition and the 3rd is at a fraction of the 4th ed. price. Is it a mistake to grab the 3rd ed. instead of the 4th. in order to save money ?
3
4,360
thread by: Emmanuel Soheyli | last post Jul 20 '05 by: Emmanuel Soheyli
I get information from an outside site by the following code: <script src="http://www.outside.com/page.asp?id=1"></script> It generates array 'content with all necessaries information. The problem is I need several type of information (id=2,3, etc.), and it always generate the same array content (as name) with different contents .how can I...
3
1,916
thread by: Chris Leonard | last post Jul 20 '05 by: Chris Leonard
Hi. I've copied some code from a book which will enable me to make a layer around a page, my aim is to do something a little more complex but this I thought would get me started. Anyway, I've run into a problem before I even start! The script works OK, it runs the image in from the left hand side quite nicely, great. Problem I have it...
5
4,439
thread by: Steve | last post Jul 20 '05 by: Steve
Hi, I have a private website for 20 people that is similar to a web email client like hotmail. There are two frames, one on the left with links for "New", "History", "Todays" and a frame on the right with a table for viewing the contents of these messages. The left pane checks back with the server every few seconds to see if any new...
3
15,090
thread by: timmy_dale12 | last post Jul 20 '05 by: timmy_dale12
Hello , im a java programmer whos gotten tangled up in some javascripts. Im really stuck on this one can , can aybody explain this to me. I have a javscript which is to clone a table row and insert it below the current table row. this is the main part : // New row function. Called by form button. function newRow(baseRowId, tableId) {
2
1,319
thread by: rusty | last post Jul 20 '05 by: rusty
I run a website with most pages built on a template with nav bar etc. On one of my template pages (call it "A"), I have links to diagrams that open in js-defined "popup" type windows (call it "B"). At the bottom of the diagram is an option to click on a link for a 'text version' of the diagram. I did manage to get the popup to close by...
1
5,941
thread by: Andrew | last post Jul 20 '05 by: David Dorward
Where can i find a free feedback form in javascript to download it and put it in my website? thanks in advance andreas
2
3,300
thread by: Antonio Delgado | last post Jul 20 '05 by: Antonio Delgado
I was wondering if anybody could help me out a little. My goal is to update some information about a system every 2-5 seconds. The information needs to be displayed in some sort of table, but the size of the table needs to be able to shrink and grow. The main problem here is updating the table without refreshing the entire page and making...
8
2,205
thread by: 2L | last post Jul 20 '05 by: George M Jempty
Trying to write some code and this is just shitting me now! Bit of form validation stuff.... Variable is declared as follows..... --snip-- <script language="JavaScript"> <!---
3
12,390
thread by: James Kirk | last post Jul 20 '05 by: Grant Wagner
The script below allows me to link to a file and as the user clicks to download, the 'File Download' windows appears as normal, and the user can download... The original page is then redirected to a new page.. This works, but it also opens a blank page.. How can this be chaged to stop the blank page from opening... ? <script ...
2
7,167
thread by: Dave Griffiths | last post Jul 20 '05 by: Grant Wagner
Hi all Very new to JavaScript, I am trying to cache a number of images as the page loads, is there a max number of images or memory usage before the browser stops caching. My PC has 1G ram so if it's a physical memory constraint then I think I am away from that. I am trying to cache about 600K images, (this if for an intranet so the page...
9
1,801
thread by: For Example: John Smith | last post Jul 20 '05 by: Charles Banas
Hi, I thought this was simple to do but I have not had any luck. I would like to have two versions of my web site which are optimised for different browsers. One version for IE and one version for Netscape / Mozilla. How do I redirect visitors to different pages based on their browser? For instance they come to the site and access...
2
11,105
thread by: Billy | last post Jul 20 '05 by: Lasse Reichstein Nielsen
I am implementing a "windowing" library that uses DIVs to simulate windows. It works, but tracking of the mouse pointer is poor. In other words, as long as I move the mouse slowly, the 'window' will track the pointer and drag accordingly, BUT if you move the pointer quickly, it stops where it is while the pointer goes off on its own. ...
2
3,921
thread by: Rich Morey | last post Jul 20 '05 by: Lasse Reichstein Nielsen
Hello, I am working on something that only needs to work in IE, and I've got this code: var aRows=oTable.rows; var oCell1_1=aRows(0).insertCell(); oCell1_1.innerHTML= 'new cell' Which inserts a row in my table and I can populate the cell with the
7
6,983
thread by: ~John Hemans~ | last post Jul 20 '05 by: HikksNotAtHome
Hi, I'm using a popup window to show a series of pages. On the last page, I need to close the window using a graphical button, return to the main browser, and go to a new url. I saw a posting on how to do this using a text hyperlink, but I can't figure out how to do this using a graphic. Can someone help me? Here's the text hyperlink I'm...
2
5,478
thread by: Paul Thompson | last post Jul 20 '05 by: asdf asdf
Can I use JavaScript in some way to entirely suppress and control the tab key, so that I perform all functions that tab performs? I can detect the tab key, but can't seem to eliminate it.
1
2,587
thread by: Darren Blackley | last post Jul 20 '05 by: Darren Blackley
Hi there I have documents that I want to automatically add additional meta tags to. The documents already have some meta tags and I want to keep them all together, so I want to add my new meta tags to the end of the existing ones... can someone help me out with a script to do this... example below. <head> <title>The Document Title</title>...

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.