On Jun 19, 1:21 pm, Karl Swedberg wrote:
> Here, .attr() is a bit of a misnomer, because it's really looking at
> DOM properties, not (x)HTML attributes. I'm pretty sure either one
> works, but I use .attr('checked', true)
Indeed, the code internally sets the DOM attribute rather than callin
Thanks, I thought I remembered reading about deprecating one of the
two forms, I just couldn't remember which and I couldn't find the post
again.
Why :checkbox vs input[type=checkbox]? I noticed a couple special
keywords that had colons in front, but I wasn't sure what their
purpose was.
Thanks
On Jun 19, 2009, at 2:10 PM, Brandon! wrote:
So I've always had a couple questions about forms and jQuery, so I
thought I'd finally ask and see if I can get a straight answer
(they're all pretty simple).
First question: When selecting a form element by it's attribute(s),
what's the proper forma
3 matches
Mail list logo