Javascript Bible 6th Edition (Danny Goodman, Michael Morrison) I've just started learning Javascript using the book Javascript Bible 6th Edition (Danny Goodman, Michael Morrison). I already know some C#, ASP.NET, Core Java, C and C++. How long should it take me to get a reasonably good grasp over Javascript using the book? Is the book any good? Are there better alternative... 16 Dec 2008 23:22
Alt Gr keycode, Ctrl left or right... Hi, I wanted to know if a user have pressed the following keys: Alt Gr, Ctrl left or right but with the event.keyCode the values returned are: for Ctrl always 17 for both left or right for Alt Gr Firefox returns a 18 following 17 while IE 17 now how can I know if a user has pressed a left Ctrl key or bett... 11 Dec 2008 05:33
Inheritance Chain Hi everyone Please look at the code below: (I am picking up JS from Crockfold and a few other online sources too) *************************************************************** function Employee(name){ this.name = name || 'default'; } function WorkerBee(name, dept){ this.base = Employee; //Not Employee()... 14 Nov 2008 15:00
node.offsetWidth vs clientWidth vs scrollWidth for the code var node = document.getElementById("something") alert(node.offsetWidth) is very similar to node.clientWidth and node.scrollWidth I just wonder why offsetWidth is well documented in the Definitive Javascript book, but clientWidth and scrollWidth are not mentioned at all, even when all 3 of the... 24 Apr 2008 06:50
TextArea Horizontal Scrolling I hope that this is an appropriate question for this forum. So far I have had some difficutly getting an answer to my problem. I have a java application with a textarea. I would like the horizontal scroll bar to work. I have managed to add the style overflow: scroll, which has caused the scroll bars to stay on ... 22 Apr 2008 22:47
help - onChange and Confirm Hi, I have a combobox with a list of links and I want to redirect (after confirming it) to a link with onChange. I use: onChange="if (confirm('do you want to redirect?')) { window.location.href='yespage.asp'}; I have this problem: if I change and confirm=true the list in combobox is selected, but i don't suc... 23 Jan 2008 19:43
DOM Scripting Not Working In IE Hi All, I've written some Javascript that dynamically adds a row to an existing table. It then adds table cells with radio buttons in each cell. This script works fine in Firefox. But, in IE it only works up to a point. The code follows. Everything happens as it should except that the radio buttons don't fu... 22 Jan 2008 11:14
I.E. jscript error: 'document.getElementById(...)' is null or not an object. Hi all, So I've been searching the various forums out there for an answer to this problem, but their seem to be multiple versions. I am using the getElementById function in my ajax and though it works fine in firefox, it returns the following error in Internet Explorer: 'document.getElementById(...)' is null or... 3 Jan 2008 10:46
Safari and Window.onload timing I have an issue with using window.onload with Safari. I am trying to use Microsoft Live maps and it works with Firefox and IE. When I look at the forums out there, there is a firing issue with window.onload and safari. Here is the script I am running: <script src="http://dev.virtualearth.net/mapcontrol/mapcontrol... 25 Dec 2007 18:53
Request.Form in Javascript Hi, Can I: <script language="javascript"> var TimeSec = new String (Request.form("TimeInSec")); or <script language="javascript"> var TimeSec = new int(Request.form("TimeInSec")); or <script language="javascript"> var TimeSec = Request.form("TimeInSec"); All three seems not working. An... 22 Dec 2007 13:36 |