On Nov 20, 6:29 am, "T.J. Crowder" <[EMAIL PROTECTED]> wrote:
> Hi Jay,
>
> Good point about documentation; would you raise a ticket for that as
> well and assign it to me (if it lets you)? (I'm pitching in on
> documentation a bit.) And yes, as far as I know Prototype basically
> doesn't suppor
Hi Jay,
Good point about documentation; would you raise a ticket for that as
well and assign it to me (if it lets you)? (I'm pitching in on
documentation a bit.) And yes, as far as I know Prototype basically
doesn't support quirks mode, I think in quirks mode you'll run into
some other problems
Thanks very much for pointing me in the right direction on this. I
wonder if there should be somewhere a caveat to the effect that $$
will only work correctly with a proper doctype. Are there other
features of prototype or scriptaculous with a similar dependency?.
I'll look after getting the ticke
@Jay:
> Not sure why you think we can ignore the scenario where the case of
> the ID is different
You're absolutely right, we can't. I don't know why I thought that,
either. :-)
@kangax:
> Does this also happen with a valid doctype?
Gah! Good catch, kangax. No, it doesn't! All of the brow
On Nov 19, 5:46 pm, Jay <[EMAIL PROTECTED]> wrote:
> I was trying to scale down the example to the essence of the issue. Of
> course, $('Contents') should be interchangeable with $$('#Contents'),
> except that is the bug - it doesn't work on Safari or IE. In the real
> world, I might want the sele
I was trying to scale down the example to the essence of the issue. Of
course, $('Contents') should be interchangeable with $$('#Contents'),
except that is the bug - it doesn't work on Safari or IE. In the real
world, I might want the selector to be more like $$('table#tblTMRoster
tbody tr td.coun
Yes, you have captured the essence of the issue - unexpectedly
inconsistent results across browsers, with no apparent workaround
except to make all id's and all class names lower case. On my tests
using Windows XP Pro SP3, the browser versions were Firefox 3.0.4, IE
6.0.2900, and Safari 3.2. On th
Sorry for the double-post: What version of Safari are you using and
on what platform? I've replicated the results in my post with Safari
3.1.2 for Windows on Windows XP.
-- T.J.
On Nov 19, 7:41 pm, "T.J. Crowder" <[EMAIL PROTECTED]> wrote:
> Hi Jay,
>
> Thanks for this. We can ignore the resu
Hi Jay,
Thanks for this. We can ignore the results for when the case of the
ID you're requesting is different from the case of the ID on the
table, since case is significant in IDs[1] -- not that I'm surprised
to see that IE is, um, different there.
So to my mind, that leaves us with this anoma
$$() with # does not return anything more in the array than one element
because id's should be unique ... its in the docs
http://www.prototypejs.org/api/utility/dollar-dollar
$$('#contents');
// -> same as $('contents'), only it returns an array anyway (even though
IDs must be unique within a
sorry, I meant to make the prototype library src link more generic
before sending - just point it to your favorite 1.6.0.3 link
On Nov 19, 11:34 am, Jay <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I seem to be painted into a corner with use of $$ with respect to case
> sensitivity of the id attribut
11 matches
Mail list logo