[jQuery] Re: Need help with JQuery + Prototype integration

2007-06-30 Thread Giuliano Marcangelo
http://docs.jquery.com/Using_jQuery_with_Other_Libraries On 29/06/07, Ganeshji Marwaha <[EMAIL PROTECTED]> wrote: ur last option is the best :-) but, did u try adding prototype.js above jquery.js -GTG On 6/29/07, sprak < [EMAIL PROTECTED]> wrote: > > > Greetings; I am having a bit of troubl

[jQuery] Re: Binding actions after an ajax call?

2007-06-30 Thread Ⓙⓐⓚⓔ
$('#myEventList div.itemContent a.event').bind('click',function(){ should be the same as $('a.event',this).bind('click',function(){ faster and shorter! On 6/30/07, Tobias Parent <[EMAIL PROTECTED]> wrote: Answering my own question... I tried it out, and this works beautifully, so far:

[jQuery] Re: History / Remote Plugin Instructions

2007-06-30 Thread Benjamin Sterling
Klaus, I knew it was incorrect xhtml, just trying to point 'em in some direction. On 6/30/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: Benjamin Sterling wrote: > > class="ProductColor#currentrow#"> > > > > Be aware, that the above is not correct XHTML. you can probably get >

[jQuery] Re: Binding actions after an ajax call?

2007-06-30 Thread Tobias Parent
Answering my own question... I tried it out, and this works beautifully, so far: $('#myEventList div.itemContent').load('/events/quicklist', function(){ $('#myEventList div.itemContent a.event').bind('click', function(){ showEventDetails(this.

[jQuery] Binding actions after an ajax call?

2007-06-30 Thread Tobias Parent
Hey - I've got content being loaded via $('#myDivID div.itemContent').load('/controller/action/'), and the information being loaded is a list of links, which I'd like to set to trigger a series of ajax calls for related DIV's throughout the page. Can I simply set the callback on the load() t

[jQuery] Re: ANNOUNCE: Call for Articles for Visual jQuery Magazine

2007-06-30 Thread Jean
Yeah greate idea, this will teach a lot of users (including me \o/) On 6/30/07, Rey Bango <[EMAIL PROTECTED]> wrote: Hey Ty, I think thats a great idea. Make sure to update us here as I'm sure Yehuda will be reading this soon. Rey... [EMAIL PROTECTED] wrote: > Hi Rey, >I proposed the ide

[jQuery] Re: Selecting the first TD of every Row

2007-06-30 Thread Karl Swedberg
Hey John, No need to apologize to me. I take it as a compliment! :-) --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 30, 2007, at 1:41 PM, John Resig wrote: Err, I meant Karl - sorry! On 6/30/07, John Resig <[EMAIL PROTECTED]> wrote: The solutio

[jQuery] Building a table from an array

2007-06-30 Thread Phil Glatz
Newbie question - can somebody please provide an example or reference to some existing code on how to create a table from an array of javascript data, please? I have an array of data to populate the table tbody; each element in the array represents a row, and contains an array of the contents of

[jQuery] Re: Odd behavior with events and loaded content

2007-06-30 Thread Renato Formato
[EMAIL PROTECTED] ha scritto: I have a page (edit.asp) which uses the .load() to load another page into a div. Inside this loaded page (students.asp) is a select box (id="classavailable") and a link (id="ajaxAdd"). I am trying to run an event after the user selects a value in the select box and

[jQuery] Re: Selecting the first TD of every Row

2007-06-30 Thread Ganeshji Marwaha
one more solution - $("tr").find("td:eq(0)").addClass("someClass"); On 6/30/07, John Resig <[EMAIL PROTECTED]> wrote: Err, I meant Karl - sorry! On 6/30/07, John Resig <[EMAIL PROTECTED]> wrote: > The solution is what Klaus posted - you just have to use :first-child. > > $("td:first-child"

[jQuery] Re: Odd behavior with events and loaded content

2007-06-30 Thread [EMAIL PROTECTED]
Thanks for the help, I think I solved the issue. I wasn't binding the loaded elements correctly. For anyone who runs into the same issue, this is my jQuery code: $(document).ready(function() { $("#tabarea").load("ajax/classes.asp?StudentID=< %=rsChildInfo__MMColParam%>"); $('body'

[jQuery] Re: Selecting the first TD of every Row

2007-06-30 Thread John Resig
Err, I meant Karl - sorry! On 6/30/07, John Resig <[EMAIL PROTECTED]> wrote: The solution is what Klaus posted - you just have to use :first-child. $("td:first-child").addClass("tomas"); --John On 6/8/07, jorgeBadaBing <[EMAIL PROTECTED]> wrote: > > I have been looking online at the document

[jQuery] Re: Selecting the first TD of every Row

2007-06-30 Thread John Resig
The solution is what Klaus posted - you just have to use :first-child. $("td:first-child").addClass("tomas"); --John On 6/8/07, jorgeBadaBing <[EMAIL PROTECTED]> wrote: I have been looking online at the documentation and don't seen to have any luck find a way of doing this. So far I can do

[jQuery] Re: Selecting the first TD of every Row

2007-06-30 Thread spinnach
what about: $('tr').each(function(){ $('td:first', this).addClass('tomas'); }); dennis. [EMAIL PROTECTED] wrote: I've tried the method Mehmet but still no success with this goal (select every first TD on every TR. Maybe im doing something wrong, but can someone assure if this code is in fac

[jQuery] Re: Selecting the first TD of every Row

2007-06-30 Thread [EMAIL PROTECTED]
I've tried the method Mehmet but still no success with this goal (select every first TD on every TR. Maybe im doing something wrong, but can someone assure if this code is in fact correct? Regards! On Jun 10, 10:40 am, Mehmet AVSAR <[EMAIL PROTECTED]> wrote: > $("tr").each(function() { > $("TD",

[jQuery] Re: History / Remote Plugin Instructions

2007-06-30 Thread Klaus Hartl
Benjamin Sterling wrote: Be aware, that the above is not correct XHTML. you can probably get away with: That isn't correct (X)HTML either. And won't work. The remote/history plugin relies on links pointing to a fragment identifier, like "#whatever", otherwise there is