473,804 Members | 2,747 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
2,473
thread by: rockva | last post Feb 1 '08 by: acoder
I am facing this problem of DIV layer going behind the quick time player in IE 7 browser. It works good in Firefox. HTML code that i am using is below. Is some IE specific code required here? Any help is appreciated. <html> <head> <title>Sample Page</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />...
1
4,498
thread by: rameshmandapati | last post Feb 1 '08 by: acoder
hi i have a problem with Excel. iam adding data to a cell in Excel using java script var excel = new ActiveXObject ("Excel.Application"); but i want image also i search in google i didnt find any thing regarding this
11
3,316
idsanjeev
thread by: idsanjeev | last post Feb 1 '08 by: gits
how can set cursor location everytime when page is open cursor goes to auto in input field and chake when click on submit lenth of input field
2
4,431
thread by: jodleren | last post Jan 31 '08 by: Thomas 'PointedEars' Lahn
Hi I want to open a window using JS, when a button is pressed. In the new window I'd like to check for which button was pressed. For cetain reasons, I'd like not to have that in the URL. What I have is function whatever(input) {
2
8,119
thread by: bent27 | last post Jan 31 '08 by: bent27
I'm new to javascript...I'm getting 'parentNode' is null or not an object error in the following code for (var ci=0;ci<headerLink.parentNode.childNodes.length;ci++) { if (headerLink.parentNode.childNodes.tagName && headerLink.parentNode.childNodes.tagName.toLowerCase() == 'span') span = headerLink.parentNode.childNodes; } ...
3
1,383
thread by: erittaf | last post Jan 31 '08 by: acoder
I am trying to write a javascript bookmarklet that will pull data from a webpage. The webpage in question comes pre-filled with info. I know what element and form numbers are tied to the field that I want to pull data from. How would I write a bookmarklet to harvest the data? The bookmarklet would be used in conjunction with a scripting program...
28
2,629
thread by: TimSki | last post Jan 31 '08 by: acoder
Hi, I'm new on this forum so any help would be much appreciated. Have just spent 3 hours searching various forums but to no avail. Basically this works fine in IE but in Firefox (v2) it always gives the alert "Page unavailable. Please try again later." The call is on the same domain and i've tried switching post to get and syn to async etc...
13
1,336
thread by: adamjblakey | last post Jan 31 '08 by: acoder
Hi, I have a dynamic country and region list i am trying to get working but for some reason when i select a country the next region field does not populate. Here is the code: HTML <select name="country" onchange="update(this.value)"> <option value="184">USA</option> <option...
3
2,188
parshupooja
thread by: parshupooja | last post Jan 31 '08 by: mrhoo
I want to validate a date via javascript. Date should not be in future and date should not me more than seven days old. Any idea? help
2
2,761
thread by: Andy Burghardt | last post Jan 31 '08 by: Andy Burghardt
I'm looking to create an online practice exam that mimics this one: http://www.castleworldwide.com/tds_v5/hybrid/asp/hybrid_exam_driver.asp Does anyone have any ideas on how to create checkboxes that load the responses without loading a new page? Any help would be appreciated.
20
4,411
Frinavale
thread by: Frinavale | last post Jan 31 '08 by: Frinavale
Hi there, I'm developing a web application system and at times the processing takes a while to finish. In order to keep the users from closing the browser before my site is finished working, I thought I'd display an animated .gif that would indicate my system was doing something. The problem I'm having is that the gif doesn't do its...
3
1,648
thread by: Yash | last post Jan 31 '08 by: Yash
Hi, In our ASP .NET application we present a form wherein the user has to input a number of fields. If in the middle of filling the form, the user accidentally navigates away from the page, either by clicking a link on the page or hitting an entry in the Favorites or in any way, we want to present an alert with only the OK button, which...
7
1,182
mickey0
thread by: mickey0 | last post Jan 31 '08 by: acoder
hello, I'm writing my own web server that take a query and respond with the page; It seems OK. FF nothing console errors. Problem is when I tried to include in my file html a file "javas.js": FF gets strange error as: Error: missing ; before statement Source Code: http://localhost/javas.js Row: 1, Column: 5 Source Code: 200 Document...
4
7,052
thread by: sindhu | last post Jan 31 '08 by: acoder
Hello everyone i want to know how to fetch only date or time from datetime now using javascript please help thanks
1
1,011
thread by: pmcnally | last post Jan 31 '08 by: acoder
Hi all, I have a site it goes like this Front Page Add to cart button -> Page with an onload auto-submit form through JS -> View Cart When they click the back button from view cart, it brings them back to the auto-submit form which in turn brings them back to the View Cart page with another item added because the form is submitted...
3
1,766
thread by: Arodicus | last post Jan 31 '08 by: acoder
I have a static class method, MyObject.MySub.MyMethod(), which points to a handler in a Flash SWF (but I think that's inconsequential). In reality, the path is a lot longer, so I'd like to make a simpler way for other programmers to access that method, such as this: var MyFunc = MyObject.MySub.MyMethod So they could just call MyFunc()...
9
2,270
thread by: Manil | last post Jan 31 '08 by: acoder
Hi, I am trying to open a pop-up window (once the user clicks on a thumbnail) that is the exact dimension of the larger image. The code behind the page is being generated automatically by DreamWeaver. What's confounding me is that the function works in Mozilla but IE complains that there is an error on the page and refuses to open the...
10
2,172
rpnew
thread by: rpnew | last post Jan 31 '08 by: acoder
Hi, I'm facing this problem. I'm developing a tool in PHP/MySql with litle bit use of Ajax. At once place i've used Ajax function for validation purpose . But my problem is when my firebug is off/disabled Ajax dosent show any response and i get the wrong messages. But when firebug is on/enabled then it shows the proper output. What could be the...
4
2,638
thread by: metaphysics | last post Jan 31 '08 by: acoder
I searched forever to find this, but I didn't have any luck. Here's what I want to do: I want to have an image that when you click on it, it shows/hides content. I also want that image to change when you click on it. Basically, I want the content to show until you click the 'minus' image, and when that happens, I want the content to...
1
2,492
thread by: vimala5 | last post Jan 31 '08 by: gits
code for closing a window using ALT f4 or pressing cross button using javascript
3
1,369
thread by: Geoff Cox | last post Jan 30 '08 by: Doug Gunnoe
Hello, Way back in 2000 Ken Cox put up this code for swapping images on a button. I cannot work out how to use it so that more than 1 button can use it. I guess the problem is knowing how to deal with the intImage value? Cheers
4
11,959
thread by: JaxDawg | last post Jan 30 '08 by: JaxDawg
I have a spreadsheet saved as an XML spreadsheet so I can manipulate it easier (and don't need COM). When I'm done, I want to display to the user. Currently, I'm using simple JavaScript in my PHP file to display the file when complete: echo '<script type="text/javascript"window.open("'.$file_nm.'")</ script>'; Since the file is .XML,...
1
1,142
thread by: FAQ server | last post Jan 30 '08 by: Dr J R Stockton
----------------------------------------------------------------------- FAQ Topic - Which newsgroups deal with javascript? ----------------------------------------------------------------------- The official Usenet newsgroup dealing with javascript is comp.lang.javascript. There are other newsgroups but many of them are not carried by most...
16
12,097
thread by: Alexio | last post Jan 30 '08 by: acoder
Am new to javascript. I need to format the currency in the as numbers are entered in textboxes. I can format the currency in the calculations and display in the totals but can not figure out how to format in input textboxes. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>...
1
1,098
thread by: plenty900 | last post Jan 30 '08 by: Matt Probert
This company contacted me asking to put ads on my pages. Is that any OK company? 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.