[Prototype-core] Re: $ function

2007-06-21 Thread Rebecca Blyth
I know I'm a little late on this one, but as the person who originally filed the bug report, I thought I'd put in a word... Personally, I'm happy with leaving the $() function untouched. People who get caught out by it will now be able to see what the problem is and what the workarounds are, and

[Prototype-core] bracket notation

2007-06-21 Thread sed
I've posted this question to ruby on rails, but figured people here would be more likely to know the answer. Using bracket notation in javascript seems to stop workiing when prototype is included. e.g. document.main[name].value. Is this a know issue? I know using $ ('name').value is the best,

[Prototype-core] Re: bracket notation

2007-06-21 Thread Mislav Marohnić
On 6/21/07, sed [EMAIL PROTECTED] wrote: I've posted this question to ruby on rails, but figured people here would be more likely to know the answer. Using bracket notation in javascript seems to stop workiing when prototype is included. I'm not using the notation, but if Prototype breaks

[Prototype-core] Re: bracket notation

2007-06-21 Thread Ryan Johnson
This is very very unlikely. I use bracket notation with and without prototype on many scripts that work cross browser. Check which other libraries you are including, and make sure it is not a problem or missing attribute of the object you are working with. On Jun 21, 8:41 am, sed [EMAIL

[Prototype-core] Re: bracket notation

2007-06-21 Thread sed
Interesting problem here and I don't think it's a prototype bug, but I corrected the issue. Here is what was happening if anyone's interested Here is a short explanation: Ajax Call generates some html into a div with this function inside: GetNextField = function() {return('thenextfield');}; In