Subject: [Proto-Scripty] Re: Chrome, Object and each()
Like I said, this code works just fine in IE, but in Chrome, it does
not work.
$aEle = $('TicketOptions').getElementsByClassName('LoadChecks');
$aEle.each(function($s){
if($s != $sEle) $s.checked = false
each does an array itterator no ?
- Original Message -
From: laurin1 [EMAIL PROTECTED]
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent: Friday, November 14, 2008 8:29 PM
Subject: [Proto-Scripty] Chrome, Object and each()
Apparently, this does not work? I
It works fine on arrays, if that is what you are asking.
On Nov 14, 2:39 pm, Alex Mcauley [EMAIL PROTECTED]
wrote:
each does an array itterator no ?
- Original Message -
From: laurin1 [EMAIL PROTECTED]
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent:
I'm sorry. My brain is fried, it works on arrays with simple values,
but not arrays with Objects IN them. Mispoke.
For instance, in IE and in Chrome, this works fine:
$a = new Object();
$a['testme1'] = 'tested1';
$a['testme2'] = 'tested2';
$a['testme3'] =
On Nov 14, 4:17 pm, laurin1 [EMAIL PROTECTED] wrote:
I'm sorry. My brain is fried, it works on arrays with simple values,
but not arrays with Objects IN them. Mispoke.
For instance, in IE and in Chrome, this works fine:
$a = new Object();
$a['testme1'] = 'tested1';
See my comments below. - Ken Snyder
On Fri, Nov 14, 2008 at 2:17 PM, laurin1 [EMAIL PROTECTED]wrote:
I'm sorry. My brain is fried, it works on arrays with simple values,
but not arrays with Objects IN them. Mispoke.
For instance, in IE and in Chrome, this works fine:
$a = new
Like I said, this code works just fine in IE, but in Chrome, it does
not work.
$aEle = $('TicketOptions').getElementsByClassName('LoadChecks');
$aEle.each(function($s){
if($s != $sEle) $s.checked = false;
});
No error in the browser, but the JS debugger