Re: [jQuery] comet

2007-03-26 Thread John Beppu
Glen, Does this still work for Opera. It seems to work OK w/ Firefox, but I'm having a hard time getting it to work on Opera 9.10 for OSX. Even http://empireenterprises.com/_comet.html is not working as expected for me in Opera. It never seems to get into xmlhttp.readyState == 3 for some

Re: [jQuery] browser freezes

2007-03-12 Thread John Beppu
On which browser and on which operating system did this occur? On 3/12/07, John Cherouvim [EMAIL PROTECTED] wrote: I typed the following piece of code (which is wrong) and my browser froze: $('input{type=submit}').css(background, red); Just wanted to let you know. Thanks, Ioannis

Re: [jQuery] jQuery in server side language?

2007-02-25 Thread John Beppu
Hpricot is my favorite HTML parser in the whole world, and its API was influenced by jQuery. Check it out: http://code.whytheluckystiff.net/hpricot/ On 2/24/07, howard chen [EMAIL PROTECTED] wrote: Anyone think that it would be great to use jQuery in server side? such as grab html from

Re: [jQuery] unobtrus

2007-01-25 Thread John Beppu
pages. I'm glad that UJS for Rails exists so that Rails programmers can more easily separate their Javascript from their HTML. PS: Sorry about the nightmares. ;-) On 1/25/07, Klaus Hartl [EMAIL PROTECTED] wrote: John Beppu wrote: I'd like to also add that Unobtrusive Javascript is just cleaner

Re: [jQuery] unobtrus

2007-01-24 Thread John Beppu
I'd like to also add that Unobtrusive Javascript is just cleaner and easier to understand than the alternative. When I try to analyze a page that has tons of Javascript mixed with HTML, it can be very difficult see what's going on. Contrast that with the unobtrusive approach where you can use

Re: [jQuery] Running jQuery when already have $() from prototype

2006-09-01 Thread John Beppu
I wanted to try to use Prototype and jQuery together, also, but it didn't work out too well for me.The main show stopper was that a lot of Prototype-based code will assume that the result of $() will be a DOM element. With jQuery's $(), you will usually get a jQuery object back (so you can do all

Re: [jQuery] What about the rest of my javascript?

2006-08-31 Thread John Beppu
This may be slightly off-topic, but I'm curious about the changes you made to prototype. What aspect of its DOM manipulation did you find lacking?On 8/31/06, Brandon Aaron [EMAIL PROTECTED] wrote: I'm a long time prototype user and have had a love/hate relationship with it. I've spent a lot of

[jQuery] Using . in id attributes confuses jQuery

2006-08-18 Thread John Beppu
I was playing around with jQuery today, and I came across something unfortunate. I was in the habit of using the . character in id attributes. For example, if I had a page full of notes, the mark-up might look like: div class=note id=note.33rd note/div div class=note id=note.44th note/div