[jQuery] Re: Just my two cents Filter DIV by ID, NAME or other tags while typing

2007-08-21 Thread SeViR
You have the response. If you read quietly the xhtml11-strict.dtd you will find that name attribute is not correct for a div, and only is for a input. You can use a class by example if your elements are repeated. So your example is not correct. Also, name in form elements is deprecated to

[jQuery] Re: Just my two cents Filter DIV by ID, NAME or other tags while typing

2007-08-21 Thread NccWarp9
Thanks for the comment, I wrote this in notepad and did not check for, or .. didn't care if it complied with standards, instead of name tag any tag can be used.like ID etc. The whole point was to provide an example on which someone could expand on. On Aug 21, 7:31 pm, SeViR [EMAIL PROTECTED]

[jQuery] Re: Just my two cents Filter DIV by ID, NAME or other tags while typing

2007-08-21 Thread SeViR
Selecting by ID's or ClassNames is simple with jQuery: $(#oneid, #anotherid).method(); $(.oneclass).method(...); but thinking in the hypothetical of you need to use non standard attributes, this example works for me: ?xml version=1.0 encoding=UTF-8? !DOCTYPE html PUBLIC -//W3C//DTD