First  |  Prev |  Next  |  Last
Pages: 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
when string is not a string
Curious javascript sample. Consider the following code: var s = "asd" var f = function() { return typeof(this) } An expression typeof(s) returns true (as it is expected), but f.call(s) returns false! To make matters worse consider the following snippet: var s = "asd" var f = function() { return this i... 13 May 2010 07:10
Value from select into href's url ?
I have a series of href's such that if the user clicks on them, certain parameters are passed to the href's url. I also have a select box, the value of which, of course, is not being passed to the url's in the hrefs. This is presented in the code below. Can someone please show me how to pass the parameter for th... 14 May 2010 11:41
hide URL in status bar with onmouseover - help
I have a submit button that is essentially a link to a page. When I hover my mouse over the button/href I don't want the URL to show in the status bar. But, I cannot seem to get it to work. I've tried several things but here is the latest from that bit of code: echo "<a href=\"http://mysite.com" onmouseover= \"... 12 May 2010 14:42
Is there a good tool to extract comments from a js file?
Hi, Is there a good tool to extract comments from a js file and produce a document? Thanks in advance. ... 12 May 2010 05:52
apparently wrong function.
I'm apparently using the wrong function. I create a new record in my *.mdb file and append it on the end of the file - .. SQL = "INSERT INTO books1 "; SQL += "( fprevrec, fnextrec, fforegrnd, fbackgrnd, fyear, fmonth, fbank, finitials, ftype, fcheck, fdate, fdescription, fdebit, fcredit, "; SQL += "fproject, ... 11 May 2010 17:53
Error-free deep property access?
Does anyone here use a general convenience method for deep property access that will not throw an error if any property along the chain is undefined? For example: deep(document, "body.firstChild.style.backgroundColor"); or deep("myElementId.childNodes[3].id"); or deep( myJsonObject, "locations.ca.sandiego.... 21 May 2010 02:59
FAQ Topic - How can I access the client-side filesystem? (2010-05-11)
----------------------------------------------------------------------- FAQ Topic - How can I access the client-side filesystem? ----------------------------------------------------------------------- Security means that by default you can't. In a more restricted environment, there are options. For example, using... 13 May 2010 06:06
Javascipt C/C++ calls
Hello, I would like to know if it's possible to make C/C++ calls from javascript, compiled in a static or dynamic library and included, and in such a case how can I do that. Does someone know it? Thank you very much. Any help would be very appreciated. Regards Matteo ... 10 May 2010 13:11
Firefox Error Console links
I have a question about the display of javascript Errors in the Firefox Error Console. Maybe not completely on-topic, but I hope someone here might know the answer. The Error Console will display an error when a javascript object is thrown (and not catched). If this is done with the normal Error object, for e... 10 May 2010 06:34
Best test for undefined?
What's the "best" way to determine if a variable is defined? I see a lot of code that looks like this: // example 1 if (typeof x !== 'undefined') doStuff(x); It won't throw an exception if you use it to operate on an undeclared or deleted identifier. If you're only testing declared variables, which se... 18 May 2010 19:14
First  |  Prev |  Next  |  Last
Pages: 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65