|
Could you tell me why ? <html><head></head><body><script> (function () { var watch = "Hola !"; (function f () { alert(watch) })(); alert(typeof f); })(); </script></body></html> This yields: Safari : "Hola !", "undefined". FireFox : "function () watch { [native code] }", "undefined" Could you (kindly, please) tell me wh... 7 May 2008 14:53
Help needed: document true width and height? Do current DOM implementations having any methods to get the document true width and height? By "true width" and "true height" I mean the real dimensions of a document, not just the current viewport size. Other words if a document 2200px width is displayed in browser where say 1020px are visible in the browser wi... 7 May 2008 14:53
javascript stopped working? I cannot see anything wrong with this document: http://home.comcast.net/%7Ejaynehm/BatCo/AccessBolton_files/BadNowPlaying.htm it validates, but the javascript is never called. Is there a typo I just cannot see?! ... 7 May 2008 14:04
Pop-up menu in Dreamweaver Hi, I'm totally stumped. I've created a few pop-up menues on a dreamweaver template. There are numerous pages using the template. I had to move the pages to a new directory. Now the pop-up menues still work in the template, but I'm unable to have them appear on the pages. Where did I loose the connection? (my link-... 7 May 2008 13:14
comp.lang.javascript FAQ - META 2008-05-07 comp.lang.javascript FAQ - META - 9.88 - 2007-10-12 1 meta-FAQ meta-questions 2 comp.lang.javascript tips 2.1 Which newsgroups deal with javascript? 2.2 What questions are off-topic for clj? 2.3 What do I have to do before posting to clj? 2.4 Why was my post not answered? 2.5 How do I direct someo... 7 May 2008 12:24
Singleton Hi guys, how do you make a singleton access class? Do you know a better way of this one: var singletonClass = (function( ) { // Private variable var instance = null; // Private Constructor function myClass( ) { //... } return new function( ) { this.constructor... 7 May 2008 11:35
Possible to detect Windows desktop style? nobody(a)nowhere.net a �crit : On Sat, 03 May 2008 11:49:26 +0200, SAM <stephanemoriaux.NoAdmin(a)wanadoo.fr.invalid> wrote: (snip) something telling you only need to detect user's Win version right ? Mac users will have to do with it :-( (I hate Windows and Windows hates me) Thi... 7 May 2008 07:31
why do both lines of code work?! Hello, I have 2 lines of code which are different but both work. I refer to the 3rd line with the url in it. In the first case the // are not escaped, in the second they are. Either soundManager.createSound({ id:'mySound'+t, url:'http://www.site.com/files/Track' + (+t+35) + '.mp3', onfinish:function(){doc... 7 May 2008 05:40
reading json object with jquery using json like ( {"Records": [ {"firstname":"Nancy","lastname":"Davolio"} ], "RecordCount":"1" } ) and jquery like: $.ajax({ .... success: function(json, status) { if(json.Records){alert("firstname= "+json.Records.firstname );} .... I can retrieve values for firstname if I use the reference... 7 May 2008 03:18
Limit textarea alert message "teser3(a)hotmail.com" <teser3(a)hotmail.com> writes: I have the below that limits the textarea input to 500 characters but cant get the alert message to work. It doesnt show anything. Do you get any error messages from the browser? Does the line previous to the alert work? I.e., is the textarea contents ... 7 May 2008 03:18
to learn jQuery if already using prototype I am learning more and more Prototype and Script.aculo.us and got the Bungee book... and wonder if I should get some books on jQuery (jQuery in Action, and Learning jQuery) and start learning about it too? Once I saw a website comparing Prototype to Java and jQuery to Ruby... but now that I read more and more abo... 7 May 2008 02:31
Hope this will help u The free website that provides more on javascript with all sample codes. http://www.masterinweb.com http://www.dynamicdrive.com Thank you. ... 7 May 2008 00:56
Dont open pls [ this is for testing only ] www.masterinweb.com <b> Hai </b> <br> <br> <p style="color=red"> www.masterinweb.com </p> ... 7 May 2008 00:56
maximum rows added to table In comp.lang.javascript message <481CD41D.5050207(a)PointedEars.de>, Sat, 3 May 2008 23:07:41, Thomas 'PointedEars' Lahn <PointedEars(a)web.de> posted: This *was* a friendly reminder If you expect your approach to communication to be seen as friendly be normal readers, then you are both naive and a slow learner.... 6 May 2008 22:25
Name of class instance 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() { // do something using the name of the object // that's an instance of this (or derived) class // e.g. // w... 6 May 2008 22:25 |