473,549 Members | 2,642 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
1,548
thread by: Pukeko | last post Jun 27 '08 by: Thomas 'PointedEars' Lahn
Hi, this is an array that is used for a dropdown menu. var imageArray = new Array( "ecwp://" + document.location.host + "/massey/images/massey/ massey_07_fullres.ecw", "ecwp://" + document.location.host + "/sampleiws/images/usa/ 1metercalif.ecw", "ecwp://" + document.location.host + "/sampleiws/images/australia/ parramatta.ecw";
9
10,855
thread by: Jon Paal [MSMD] | last post Jun 27 '08 by: Thomas 'PointedEars' Lahn
using json like ( {"Records": , "RecordCount":"1" } ) and jquery like: $.ajax({ .... success: function(json, status) {
15
955
thread by: Geoff Cox | last post Jun 27 '08 by: Thomas 'PointedEars' Lahn
Hello I cannot see why this is not working - the idea being to check the email address entered and if OK to move to either one of 2 pages - the move does not happen. The code below is in the lower of 2 frames. Why?!
8
1,658
thread by: Matthias Watermann | last post Jun 27 '08 by: Thomas 'PointedEars' Lahn
Hi, I'm wondering if it's possible for an object to figure it's name. for example: function baseClass() { // setup properties of "baseClass" } baseClass.prototype = { aMethod: function() {
11
2,340
thread by: VK | last post Jun 27 '08 by: Thomas 'PointedEars' Lahn
In the continuation of the discussion at "Making Site Opaque -- This Strategy Feasible?" and my comment at http://groups.google.com/group/comp.lang.javascript/msg/b515a4408680e8e2 I have realized that despite suggestions to use DHTML-based modal dialogs are very common? there is not a single fully functional reliable copyright-free...
3
1,823
thread by: DebuggerCLL | last post Jun 27 '08 by: Thomas 'PointedEars' Lahn
This is an A* path finding demo I created a few months ago. I don't see any real uses for it, but it's still neat. http://clindsey.blogspot.com/2008/05/javascript-path-finding-prototype.html
1
1,068
Ugh
thread by: sheldonlg | last post Jun 27 '08 by: sheldonlg
(I tried to call) The onclicks not working is definitely due to missing closing tags. The way I found this was to copy a pieces of code and made a mini-app. I then ran that app and copied the html code generated into another html page. I (W3C) validated that page and it disclosed my errors. Well, I fixed all the errors and now all the...
5
1,466
thread by: SAM | last post Jun 27 '08 by: Tom Cole
Mtek a écrit : no, that is the code given to the server we need the code received by the browser (snip) you'll certainly need Ajax or to send the form and get-it back
1
217
thread by: nogueira_cristina | last post Jun 27 '08 by: nogueira_cristina
Hello, I hope someone can clarify the following for me. I have page which replaces the code of a certain <divtag with other code (which on itself contains another div). The replacing of the code is done with AJAX. All divs have their id's set. The first replacement works fine. But I want the code in the second div (which is code that...
6
5,001
thread by: Steve | last post Jun 27 '08 by: Tuomo Tanskanen
I have noticed that setTimeout works if the brackets () are left off the function called, like this: window.setTimeout(myFunction, 1000); I thought that the brackets were required to show that myFunction is a function, so why are they not required here? Also I have found that if I want to pass a value to a function with setTimeout I...
2
2,992
thread by: EGdesign | last post Jun 27 '08 by: EGdesign
Hi everybody! does anyone know a script to have an eBay-style dropdown menu? (the one that shows up pointing on "Categories") thanx in advance for your answers.
4
1,236
thread by: Zack | last post Jun 27 '08 by: Richard Cornford
Hi, Let's say you have this function named validate. validate looks like this: function validate() { return ($F("Email") != '' ? ($("Name").value = $F("Email")) : false); }
1
1,025
thread by: sheldonlg | last post Jun 27 '08 by: sheldonlg
I am waiting for the new menu you devise with the new links so that I can hook up what I have done and test the whole thing. Anything else coming down the pike? Last week was only 11 hours.
2
1,284
thread by: Geoff Cox | last post Jun 27 '08 by: Geoff Cox
Hello I have a <divin which the returned AJAX info appears but IE and FF seem to deal with it differently. IE at the moment places it to the right of a set of other <div>s whilst it is just below the bottom of the page with FF. Is it possible to force the page to move down so that the returned info is visible without expecting the user...
4
2,662
thread by: Mtek | last post Jun 27 '08 by: Ugo
Hi, We have a combo box on our page, which gets populated via a MySQL Query in PHP. What we want to do is to print the values on the page in a table that correspond the to selection from the combo box without a page refresh. I assume that I'll need to query ALL the needed values from the database and store them in an array This can be...
1
1,054
thread by: Mtek | last post Jun 27 '08 by: Mtek
Hi, We have a combo box on our page, which gets populated via a MySQL Query in PHP. What we want to do is to print the values on the page in a table that correspond the to selection from the combo box without a page refresh. I assume that I'll need to query ALL the needed values from the database and store them in an array This can be...
1
1,081
thread by: Martin | last post Jun 27 '08 by: MightyCoder
Greetings folks. I'm trying to find programmers who would be interested in occasional, small jobs involving JavaScript. This concerns material for a science-related web site. It would help if you have some background in science, but it isn't absolutely necessary. Anyone interested should contact me at mgcqso@comcast.net.
1
1,802
thread by: Eamorr | last post Jun 27 '08 by: Ugo
Hi guys, You'll see down on the bottom right of this map I have two roll- over images (I haven't got round to doing all the other roll-overs until I get these working!!!) http://www.xlhi.com/google_groups.php I keep getting this annoying flicker!!!
4
1,134
thread by: FAQ server | last post Jun 27 '08 by: Dr J R Stockton
----------------------------------------------------------------------- FAQ Topic - How do I get a perl/asp/php variable into client-side js? ----------------------------------------------------------------------- Use the server-side language to generate the javascript: var jsvar="<%= aspvar %>"; var jsvar="<?php echo $phpvar ?>";
3
1,563
thread by: superbungalow21 | last post Jun 27 '08 by: Evertjan.
Hey, I was wondering if it is possible to preform an action when content in the lightbox "thickbox" has completely finished rendering? So I can loop through all the elements in the thickbox.
18
1,231
thread by: Prisoner at War | last post Jun 27 '08 by: Prisoner at War
On May 2, 4:31 pm, Ben C <spams...@spam.eggswrote: I found this code at http://colorado-springs.pm.org/balloonHint.html but the site doesn't seem to provide a working example! Yeah, something like that Kontera in-line text stuff, except totally client-side...hmmm, actually, that Kontera stuff can be annoying, too...better switch back to...
3
1,073
thread by: a.riser | last post Jun 27 '08 by: jdalton
Hello When using *this* in an Array#each or Hash#each-loop this references *window*. Is this intentional (I can't believe it)? An example here: http://www.banza.net/jstest/this.html . The code there is: var Test = Class.create({ initialize: function(){
1
3,135
thread by: John L. | last post Jun 27 '08 by: John L.
How do I invoke the scroll() method of a window object for a scrollable IFRAME element in an HTML document? I am using IE 7.0, and I thought the following would work: document.frame01.scroll(x,y) or possibly document.getElementById('frame01').scroll(x,y)
2
1,383
thread by: Ronald Raygun | last post Jun 27 '08 by: Ronald Raygun
I have a document that is layed out in divs with ids and classes. There can be N divs of class "other" but only one div with id ="main". Only the div with id "main" should be visible. I want to be able to programatically select the visible portion of the document, by clicking a link at the bottom of the document. So for example, the links...
3
1,363
thread by: elyfrank | last post Jun 27 '08 by: Gregor Kofler
Hi guys, Anybody knows how to get rid of Item remaining at the bottom of the page and the Internet explorer tab spinning at the top? I can't find the problem. These are the two pages I have the problems. http://flyawaytrip.com/index.htm?page=_portfolio.htm http://flyawaytrip.com/index.htm?page=_home.htm Thank you for your help.

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.