[Proto-Scripty] Re: IE and Element#up

2009-01-03 Thread T.J. Crowder
Hi Joris, I felt a bit stupid asking such a basic question is there some documentation on these kinds of differences per browser? No need to feel stupid, we're all new at some point. I found when starting out with Prototype that it paid me back very well indeed to read the API from beginning

[Proto-Scripty] Re: IE and Element#up

2009-01-02 Thread Walter Lee Davis
Did you try this.up('div.bla')? Walter On Jan 1, 2009, at 5:43 PM, joris77 wrote: Hi, This works in firefox but it doesn't in internet explorer 7 is this an issue or am I missing something? html head script src=prototype.js type=text/javascript/script /head body div class=bla a

[Proto-Scripty] Re: IE and Element#up

2009-01-02 Thread Matt Foster
Its because FF allows for native prototype extension and IE does not, such that any referenced element won't have proto's element extension methods until its been explicitly extended. a href=# onclick=$(this).up('.bla').remove()Back/a But to be honest I wouldn't use that style of event

[Proto-Scripty] Re: IE and Element#up

2009-01-02 Thread Joris wijlens
Matt, 2009/1/2 Matt Foster mattfoste...@gmail.com Its because FF allows for native prototype extension and IE does not, such that any referenced element won't have proto's element extension methods until its been explicitly extended. a href=# onclick=$(this).up('.bla').remove()Back/a