473,796 Members | 2,628 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.
6
2,591
thread by: dasrasmikant | last post Mar 28 '08 by: aswath
Hello, I am new in Ajax. I want to create Ajax dynamic list with ASP and XML. can anybody will help me regarding This. Thanks in advance..
6
1,430
thread by: priyanka1915 | last post Mar 28 '08 by: r035198x
Can someone tell me how to connect database like MS Access to javascript thanks
1
986
thread by: daisy5427 | last post Mar 28 '08 by: aswath
I need to ask user his/her name and his her birth year. The variables I use are UserName, birthYear, currentYear, and calculatedAge. I need to output to the user a message that says "Hello, userName, you are calculatedAge years old. I get to where the program runs and asks the questions but when I get the response it says that the age is 2008,...
1
1,177
thread by: Geoff Cox | last post Mar 27 '08 by: Evertjan.
Hello, Anyone know how I can use javascript with an image map? I do not want to use the image map areas to link to different files. I wish to know where the user has clicked on the map. Say the image is that of a house I want to know if the user has clicked on the roof, the front door, a window etc etc.
4
1,180
thread by: pk | last post Mar 27 '08 by: pk
Hello. I'm new to YUI but I see it's a set of a very useful tools. So I'm trying to use it :) And I have first problem. Could anybody help me and explain why the slider which I created on my page is not working correctly in IE ? Please, look here: http://www.pkfoto.pl/ofr2 Big thanks in advance !
5
15,267
thread by: steven | last post Mar 27 '08 by: mmurph211
Hi Is it actually possible to find the current size (in pixels) of a html element, regardless of whether or not these attributes have been set, or even if a percentage value was used? My case: I want to find the height / width of a span tag or the height / width of a div tag. I've browsed the DOM but I can't figure out what to use. I've even...
1
1,252
thread by: FAQ server | last post Mar 27 '08 by: Dr J R Stockton
----------------------------------------------------------------------- FAQ Topic - How do I open a new window with javascript? ----------------------------------------------------------------------- New windows can be opened on browsers that support the ` window.open ` function and are not subject to the action of any pop-up blocking...
4
2,103
thread by: boudrcj | last post Mar 27 '08 by: acoder
I'm having problems accessing elements of a child window even though both pages are in the same domain. The code works find if the two pages are from the same server, but not when I put them on different servers. I'm making sure to refer to both server names by the full name: "server1.company.intra" and "server2.company.intra" which I thought...
2
1,245
thread by: cmt | last post Mar 27 '08 by: sheldonlg
I have a <divon my page that is dynamically loaded via javascript. This part works fine, however any javascripts or javascript function calls that happen to be in the dynamically loaded content, do not work! Not even a simple alert('hi!'); works...it's like the browser ignores any scripts that are in the dynamically loaded <div>. Is...
3
1,101
thread by: Ron Croonenberg | last post Mar 27 '08 by: Jeremy J Starcher
Hello, when I open a new browserwindow with: var win = window.open(url, name, "location=no, menubar=no, status=no, toolbar=no, scrollbars=no, resizable=no" + " width=" + w +", height=" + h); I do get a new window without a locationbar in firefox, but with a locationbar in IE.
4
1,315
thread by: browser newbie | last post Mar 27 '08 by: Jeremy J Starcher
Hello How can I capture the link a user clicks on ? After capturing will I be able to form the HTTP request so that I can change the server its going to? For example...if the URI in the page says www.link1.com/data1, should the user click on it, I would like this to be send to server1.link1.com to get the url /data1
15
1,624
hsriat
thread by: hsriat | last post Mar 27 '08 by: hsriat
I was working on TextPad till now and its just an ordinary editor, and I'm bored working on it. I there any editor like Eclipse for JavaScript?
4
1,234
thread by: haimski | last post Mar 27 '08 by: haimski
hi, I want to make a complicated GUI image animation in javascript. an example of what i would like to do you can see in this site: http://www.ted.com does any body know where can i find an examples of this kind of object. if you have something that you did i would love to see. tips and help of how should i program this, would be...
2
1,489
thread by: gia999 | last post Mar 27 '08 by: acoder
Hi there, I am trying to get a menu (a div which will contain a list of links) to pop up when you rollover a link and this pop ups just beneath the link which calls it. I have it working in IE and Opera, but it just will not work in Mozilla Firefox :(. I have been trying different things for the past 4 hours and just don't know how to get...
7
3,100
thread by: connectwithme | last post Mar 27 '08 by: pronerd
I am using IE 6.x & Mozilla 2.x This is the HTML code <td id="td2"> <tr id="td3"> <td id="td4"> Some Test TEXT </td> <td id="td5"> <input type=checkbox value="chk-4">CheckBox 4 </td> </tr> </td>
32
5,383
thread by: phub11 | last post Mar 27 '08 by: hsriat
Hi all, This was originally posted on the HTML section, but it was suggested that I post it in the JavaScript section, so here it is... I have a file upload box contained within a form which I use to dynamically update the contents of a drop down. I have a second form just below which I use to submit the same file as used in form 1....
1
2,553
thread by: whitelined | last post Mar 27 '08 by: Tom Cole
Does Opera have problems setting cursor style? I have the following code that works in FF & IE: this.pane.style.cursor = 'ne-resize'; It kind of works in opera, but seems to be variable to say the least. Anyone have any ideas? Many thanks
2
1,859
thread by: Msleh08 | last post Mar 27 '08 by: Msleh08
Hello. The code below shows a basic html text file with a highlighted bar that scrolls over each <tr> using your up/down arrow. If you notice, when you scroll using your up/down arrow the page jerks. How would I remove the jerking? Also, when the highlighted bar reaches close to the bottom it shows a few lines that are to come. Is there a way in...
3
1,530
thread by: rajesk | last post Mar 27 '08 by: acoder
Hi Issue: IE 7/Win XP Works for FF2.0/Win XP I am loading bunch of images on web page, I am in need of img.height property but it is coming as 0 for the Internet Explorer 7. It works as expected for FireFox 2.0 and am I not sure how can I resolve the same. I am preloading the images as well but it is of no use. I am providing...
4
1,251
thread by: princelindie | last post Mar 27 '08 by: acoder
My code is similar to the one below. <html> <head> <script src="selectuser.js"></script> </head> <body><form> Select a User: <select name="users" onchange="showUser(this.value)">
5
1,558
thread by: test9991014 | last post Mar 27 '08 by: VK
Hi, I gather that Javascript standard function names are case sensitive and they follow the old Smalltalk manner of applying case e.g. thisName, however I am curious, I see "onerror" mentioned on some web pages which seems to contradict the standard. Or is it actually onError? Thanks.
2
15,698
thread by: stup | last post Mar 27 '08 by: asc99c
Hi! I have a small javascript snippet that does the following: // an entire html document is in here data = "\u003c!DOCTYPE html PUBLIC \u0022-//W3C//DTD XHTML 1.1 Strict//EN\u0022\n ...."; newwin = window.open("", "outputwin", ""); newwin.document.write(data);
2
5,956
thread by: alhalayqa | last post Mar 27 '08 by: alhalayqa
Hi, as you know, if I attach a property to the object prototype, it will be attached to all objects from the same instance. example : if I have a couple of images inside a document such as : <img src=""/> <img src=""/> <img src=""/>
2
1,676
thread by: alhalayqa | last post Mar 27 '08 by: alhalayqa
hi, in MSIE, you can attach onclick event to both anchor and document objects. here is some code : document.onclick = function() {alert('document clicked ...'); } <a href= " " onclick="clickHandler"></a>
5
2,068
thread by: huseyin | last post Mar 27 '08 by: hsriat
Hello, I have two forms written mainly in php. Here how it functions currently: - First form has two submit buttons. - First submit button is a search button that submits a value of an input field that activates a database query and get the result - I control the length of the entered text with Java Script in the input field and activate...

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.