[jQuery] a technique for dumping out debugging info for nodes in a JQuery select list. [bll_2009post]

2009-11-07 Thread buildlackey
I've looked around on this list and in a number of books, but nothing I read helped me figure out how to dump out the content of nodes in a JQuery select list. I came up with my own technique, which uses good old fashioned DOM functions to figure out a node’s name and attributes. There is

[jQuery] how to get at jquery elements when i'm looping through a jquery select list with 'each'

2009-10-02 Thread buildlackey
Hi. I’m doing something dumb with jquery, but I can’t put my finger on what is causing my problem. I’m trying to debug some jquery code and I wanted to list the html of each element that I’m picking up from my select list. I have a shrunken down sample of what I’m doing below..

[jQuery] Re: how to get at jquery elements when i'm looping through a jquery select list with 'each'

2009-10-02 Thread buildlackey
A colleague helped me with a solution: This does what I want -alert(got a label + $(this).parent().html()); seems you have to wrap the raw java script element before calling jquery functions on it. makes sense. buildlackey wrote: Hi. I’m doing something dumb

[jQuery] Re: unable to create validator that prevents transition to next field on errors. [ $(this).focus() this.focus() both fail ]

2009-05-26 Thread buildlackey
Well.. I found a workable solution, and I have a theory as to why it works...The theory might be whack because my javascript and DOM knowledge is fair to middling at best.. But here goes (comments and corrections most welcome, maybe I'll learn something additional...) Theory and

[jQuery] unable to create validator that prevents transition to next field on errors. [ $(this).focus() this.focus() both fail ]

2009-05-24 Thread buildlackey
Hi I'm new to jquery and was making pretty good progress until this silly problem started bogging me down. I am sure this is something people do all the time, but i could find no good samples to work from... If anyone could point out what i'm doing wrong, or what the trick is, i'd greatly