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
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]
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
3 matches
Mail list logo