hi all,
the fowllowing js is causing err on IE:
$('someThing') instanceof Element
error: Function expected
it is fine on any other objects such as:
$('someThing') instanceof Template -- return false
$('someThing') instanceof Hase -- return false
any idea y Element is diff or how i can get
in firefox of course
thanks again for the help
On Dec 1, 7:29 pm, kangax [EMAIL PROTECTED] wrote:
On Dec 1, 7:36 pm, yoshi [EMAIL PROTECTED] wrote:
hi all,
the fowllowing js is causing err on IE:
$('someThing') instanceof Element
error: Function expected
it is fine on any
heres my js:
var stuff7=eval('function() {alert(stuff..);}')
when i alert stuff7 it is undefined.
now if i do this:
eval('var stuff7=function() {alert(stuff..);}')
and alert stuff7, it is defined
does anybody know y, the jscript eval doc doesnt really help, i
suspect it is a scope issue?
3, 9:36 pm, yuval dagan [EMAIL PROTECTED] wrote:
try it like this:
add ( and )
var stuff7=eval('(function() {alert(stuff..);})')
thats because the interpreter rules of running the script
On Thu, Dec 4, 2008 at 3:17 AM, yoshi [EMAIL PROTECTED] wrote:
heres my js:
var stuff7=eval
I'm sure some of you have seen the nice work that is being done on
protovis..
http://vis.stanford.edu/protovis/
I would like to implement a test of this graphing capability which
returns a chart in response to an ajax.updater call.
I have never quite understood how to get javascripts to run
i m trying to upgrade prototype 1.5.1 to 1.6.1, then realized that the
$H changed, and not compatible with '[]' anymore.
the code base is huge, and $H is used very often. i m wondering if
theres a smarter way then
1) writing my own wrapper around $H, so it works with old code, or
2) surgically
(transport.responseJSON.errors)
the result is a weird hash (size() == 38!)
yoshi, how do you fixed it? what kind of test should I do before the
hash creation?
On 8 oct, 00:34, yoshi yosh...@hotmail.com wrote:
i m trying to upgrade prototype 1.5.1 to 1.6.1, then realized that the
$H changed