Implicit object constructor misinterpretation Just nailed down a spurious bug from a 3rd party code which seems to be in unexpected continuation of "Little Help with JavaScript" side discussion and Mr.Cornford comments: http://groups.google.com/group/comp.lang.javascript/msg/ff0101e295265cb5 The minified test case: var test = { op1 : false, op2 : ... 5 Nov 2009 20:05
Are arguments that are objects passed by reference? I haven't so far found an accurate explanation of the argument passings mechanism in javascript, and since it is a very basic question, I wonder what I have missed. According to the tutorial at https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Functions : Object parameters, e.g. objects, arrays ... 2 Nov 2009 16:49
checking whether preview pic loaded? Hello I am updating a system, and want to check this line: document.all.preview.src = 'Temp/' + ob.id +'.bmp'; by added if not loaded then document.all.preview.src = something else; How do I check whether the picture loaded? WBR Sonnich ... 22 Oct 2009 05:14
cluttered code prevention? How do you prevent your code looking cluttered? When there are debugging statements and many kinds of error checking statements added, the programs start looking cluttered, difficult to read and comprehed. They do not resemble nice and elegant school book examples. If we remove the extra statements and save bo... 22 Oct 2009 05:14
alternative if syntax Hi, I came across this line of code in a book. It appears to use the alternative if syntax, but it doesn't quite make sense to me: res += (i * j) % 8 ? " " : "*"; where res is a string variable, and i and j are number variables (i increments from 1 to 7 and j increments from 1 to 15). What's confusing me is... 21 Oct 2009 20:28
nike air max 2003 ney style hot sell ....free shipping to worldwide nike air max 2003 ney style hot sell ....free shipping to worldwide nike air max 2003 ney style Nike shox Bird's Nest welcome : http://www.crocseshop.com/Nike_Air_Max_Shoes/smallclass.asp?smallid=527&ya=1 ... 15 Oct 2009 23:49
Hiding a table row in Firefox There is an HTML table with two columns. I would like to hide or reveal a row by clicking a box. I worked out a way to do it which works for IE, but the result surprises me in Firefox. The HTML for the row looks like this: <tr id=foobar><td>data</td><td>Some text</td></tr> The button which controls it looks... 17 Oct 2009 18:24
Halloween website Check out our new Halloween website at www.emailministry.webs.com/halloween.htm Thanks ... 11 Oct 2009 00:44
move div by drag etc. Rumor has it that some implementation of HTML5's drag and drop is very clumsy. Let's ignore that for now. Say, we have we have 5 or 6 DIV (s) in a page or 5 or 6 or more TD in a TR, what might be an elegant way to drag the DIV (s) or TD (s) to re- arrange the DIV (s) or TD (s)? Then, maybe, we could conside... 11 Oct 2009 11:30
FAQ Topic - How can I create a Date from a String? (2009-10-05) ----------------------------------------------------------------------- FAQ Topic - How can I create a Date from a String? ----------------------------------------------------------------------- An Extended ISO 8601 local Date format ` YYYY-MM-DD ` can be parsed to a Date with the following:- /**Parses string ... 25 Oct 2009 19:49 |