... <URL:http://www.jsfromhell.com/number/fmt-money> Or alert((+12345.6789.toFixed(2)).toLocaleString()); The second is obviously better, but it will use the...
x-posted because no reply from other group. Hi all. I'm rather new to Javascript, although I've done a lot of programming in past years, in other languages. ...
Hello. My name is Mike. My wife and I are web site designers and are needing some help setting up something that is probably easy for most of you. We are...
hi having problems with this code function alert1() { if (document.cookie = "") { if (confirm(" ***WARNING*** \n Some of these jokes MAY be offensive \n...
Your habit of putting {} after EVERY "if" and "else" is getting you into trouble here, I think. At the very least, you should write "else if" without a {} for...
David. Thank you so much. I am now a happy bunny! :-) Strangely enough I had re-written the code just after I submitted the piece you've just seen, just...
Alan ... Glad to hear it. ... In a way, they're not "correct", in that they are like the dreaded "goto's", but in some situations they really clean up the code...
... (??? Doesn't tell us anything - there are heaps of other mailing lists out there.) ... 1. Get a text editor that highlights matching parentheses/brackets....
Jon Not planning to get into a style war, but ... if () ... else if () ... else ... (with or without {} for the "then" parts and the final "else") is...
Jon. Thanks for your reply. I only included the x-posted wording as a courtesy, not as a complaint, to save myself from being complained at because I'd done...
David. Hmmm. That's a bit ironic, Internet Explorer 7 refuses to open that site! Oops. :-) Regards, Alan. www.theatreorgans.co.uk Admin: 2nd Touch, SSusers and...
My googling is not leading me to the light. Here's my problem. I need to change some page content (back and forth between A and B) based on days of the week...
So, I have printed out a table to the browser. Is it possible to then go back and assign actions to the TD cells of the table through a JavaScript call? ...
... Bellow I just made an example of comparing the hours "in the hand", but the easiest and shortest way is to make two Date objects and compare them, if you...
Convert your time to minutes past midnight. If time is PM add 12 to the hours. multiply hours by 60 and add the minutes. You can put this into one clean little...
Wow! I'm going to have to read this twice to understand it. Thanks very much, Jonas. May you please explain the $ notation that appears in several places? This...
Not doing any testing on this, but off the top of my head ... ... I would expect that key would be an actual cell reference, not an index into the cells...
Hi David. IE7 is in Beta 2 ! :-) Regards, Alan. www.theatreorgans.co.uk Admin: 2nd Touch, SSusers and UKShopsmiths Groups Editor Adur & Sussex Federation NHW...
I noticed that Swf doesn't play in Acrobat 7. but it plays fine in 6. Is there some code missing in the Acrobat 7, that I need to add? Or a code in the Flash...
... lol, the only usefull part for you is the first script and this part of the other one: s is the start time and e is the end time =b s.h <= h && e.h >= h &&...
... Of course it doesn't work. The for..in loop loops over properties of an object, not over items in a collection. Do it like this instead: var elm; i=0, ...