473,804 Members | 3,447 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.
11
7,392
thread by: maxirmx | last post Apr 16 '08 by: acoder
Hi everybody, I need to calculate caret coordinates within TEXTAREA in pixels. Pointing me to the right direction will be appreciated. Thanks MaxIRMX
4
1,255
thread by: Nibbus | last post Apr 16 '08 by: gits
Hello all the coders! I´m trying to attrib a value to x and y, what am I doing wrong? this.start = { x:"hello1", y:"hello2" } when printing this.start.x it gives me " runtime error: 'this.start.x' is null or not an object". (IE7)
1
2,683
hidash
thread by: hidash | last post Apr 16 '08 by: mrhoo
hi all, i want to disable the keys in keyboard for my webpage created using jsp. i need to make disable i) Alt+Tab ii) Alt+Esc iii) Ctrl+Tab iv) Alt+F4 v) Ctrl+P
6
2,082
vikas1111
thread by: vikas1111 | last post Apr 15 '08 by: acoder
Hi All. I want to pass values from textbox to pop-up window. How Can i do that? Can anyone pls help me ? I Have created a popup window..
3
1,053
thread by: Fuzzy | last post Apr 15 '08 by: acoder
I've been using a javascript window system to make windows appear within a project of mine. within these dragable windows i have iframes which seems a great way to split up into forms, and much more managable. Though i noticed in ie that memory went threw the roof and even page refresh didn't free the memory only closing the browser would. I...
3
1,479
thread by: truezplaya | last post Apr 15 '08 by: acoder
Hey I am currently creating a mash up that displays the location of some football grounds using a geoRSS feed. I was hoping to add lightbox to my mash up so i can display photos. The trouble i am having is putting the links in to the markers has anyone got any ideas. At first i thought it would be a straight forward but now i think i...
2
2,260
thread by: Nelluru | last post Apr 15 '08 by: Nelluru
hi all, I am using HTML, Javascript and CSS to code my pages. I want to reload the same page upon selecting an option to get data from mysql tables depending on the option. this is my sample code: //javascript function function changeSelectAction(form) { //form.action = 'det.php';
2
2,956
thread by: smita023 | last post Apr 14 '08 by: acoder
Can anybody plz help me me out in getting the Javascript code required for transferring the data from an EXCEL SHEET to NOTEPAD
1
1,506
thread by: vebuda | last post Apr 14 '08 by: pronerd
Hi all, I am using a treeview control in asp.net. I am populating the nodes and child nodes of the control from a sql database. I have checkboxes for all nodes and child nodes. What I want to do is check all the child nodes on clicking of a parent node on the client side. How do I achieve this? Also I am bit confused on how javascript...
11
14,654
thread by: khushwinder | last post Apr 14 '08 by: acoder
I simply want the validation for website url checking. But it should not start from http:// (example http://www.yahoo.com) it should start from ww.(example www.yahhoo.com) Thanx in advance
3
1,523
w33nie
thread by: w33nie | last post Apr 14 '08 by: acoder
I'd like to put a clock on my web site, that shows the time where I am, not where the user is. I found a regular clock with google, that shows the time of the user's system clock, so I thought it might be able to be tweaked to show the time where I am. I live in the UK at the moment, so right now we're on UTC+1. But I travel around a fair bit,...
7
1,441
drhowarddrfine
thread by: drhowarddrfine | last post Apr 14 '08 by: acoder
I'm going to have to fire my javascript guy so I guess I better start relearning all this. ;) I wrote a little script to change the src of an image. <script type="text/javascript"> function mine(x){ y=document.getElementById(x); y.src="2.png"; }
2
1,548
thread by: froilan03 | last post Apr 14 '08 by: froilan03
Hi, Please help me to solve this one. I have page with tables (including hidden tables), my problem is how can I copy both the content of the table. Here is my code snippets: function copyTable(tableNumber) { // Get the table frame var tableIFrame = eval("generatedFrame" + tableNumber); // Get the table
1
4,931
thread by: Riyaz | last post Apr 13 '08 by: acoder
Hi mates, Im developing an purely client side drag & drop application with JavaScript. I got a code for IE 4.0 and Netscape 4.0... while trying to update code to work in modern browsers like IE 6+,Netscape 7,Mozilla Firefox etc...,im facing some problem in line i pointed out in code below : <html> <head> <SCRIPT...
1
1,566
thread by: austriaman | last post Apr 13 '08 by: acoder
Thanks for viewing this thread! I'm currently trying to create an invisible counter that also keeps track of IP-addresses. Any well elaborated counter-tutorial? Thanks for your help! http://austriaman.au.funpic.de/023.gif .
1
2,895
thread by: mailmeramya13 | last post Apr 13 '08 by: acoder
hey , i want to deactivate the f5 button and refresh button and also the close button of the browser. how to work with it. how touse the keycode for this. any body plzzzzzzzzzzzz help. :confused:
10
5,483
thread by: Shalini Bhalla | last post Apr 13 '08 by: acoder
I have seen some sites which do get automatically adjustments depending on screen resolution , how is it possible ?
1
1,442
thread by: getmeidea | last post Apr 12 '08 by: Logician
CODE: function checkAll() { var now = new Date(); var chkBoxes = document.getElementsByName('chkMe'); for (var limit = 0; limit < chkBoxes.length; limit ++) { while(((new Date()).getTime() - now.getTime()) < 1000) {} //Delay 1 sec. chkBoxes.checked = true; }
5
2,598
thread by: kalyangvd | last post Apr 12 '08 by: acoder
Hi Guys, I am trying to get the Field Id from the Parent Window in the pop up window using window.opener ex: var var1 = window.opener.document.getElementById("text1").value; alert(var1); I also used as window.opener.document.loginForm.text1.value but the field value is not getting in the pop up window. What am i missing here. ...
1
1,949
thread by: neilfarah | last post Apr 12 '08 by: acoder
I have tried with one for loop or two for loops. I've even separated each firstChild.nodeValu e by a semicolon and I still get the same result. It will print with one of the nodeValues, but not both. I have double checked whether the javascript can acually read either nodeValues by using alert(nodeValue) checks and it does. But when it comes...
8
4,695
thread by: SSG001 | last post Apr 12 '08 by: acoder
i have used dropdown.js file which does the searching in select box i have main.php where in the two .js files are called one is dropdown.js which has a function to search and other .js file creates the rows required now i when i use serching the default row select box searching it works but whn i use it on the row created by js file this the...
72
5,511
thread by: viki1967 | last post Apr 12 '08 by: acoder
Hi everyone. Help with this problem. With Google I found this script: var regiondb = new Object() regiondb = ;
3
2,084
thread by: wendallsan | last post Apr 12 '08 by: gits
Hi All, I've stumped myself writing an app that uses Prototype and a bit of PHP. Here is what I have: I have a custom class named Default_county_init_data that, upon initialization makes several Ajax.Request calls to gather data from the server. What I'm having trouble with is getting the data from the Ajax call back to the custom class...
1
1,193
thread by: Harshpandya | last post Apr 11 '08 by: Harshpandya
Here is my code - I want Function test to execute only after 5 seconds. function test(){ alert("After 5 sec"); } function f2(){ setTimeout(test,500); }
1
1,565
thread by: Zwalker | last post Apr 11 '08 by: numberwhun
Help with Javascript turned off, new flashdrive version needed, to view YouTube even though Javascript is turned on and new flashdrive version installed.

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.