Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > DOM and fieldset

Reply
Thread Tools

DOM and fieldset

 
 
Fred
Guest
Posts: n/a
 
      08-24-2008
why can't a fieldset have a 'name' property as every other element can?
 
Reply With Quote
 
 
 
 
purcaholic
Guest
Posts: n/a
 
      08-24-2008
On 24 Aug., 21:46, Fred <(E-Mail Removed)> wrote:
> why can't a fieldset have a 'name' property as every other element can?


The name attribute is not an universal attribute, therefore you can't
use it for every element. It can be used for some elements (see
http://www.w3.org/TR/html4/index/attributes.html for details). I case
of using XHTML, some elements should use the id attribute instead of
name (see http://www.w3.org/TR/xhtml1/#h-4.10)

Regards,
purcaholic
 
Reply With Quote
 
 
 
 
SAM
Guest
Posts: n/a
 
      08-24-2008
Fred a écrit :
> why can't a fieldset have a 'name' property as every other element can?


And why not also 'label' or 'legend' ?

I suppose only elements needed to be sent by the form can be named
(that's to say : only inputs and textareas), this names being used as
variables on server side.
form, fieldset, legend, label are of no interest on server side.


--
sm
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GridView and html FieldSet tag =?Utf-8?B?cGVsZWdrMQ==?= ASP .Net 1 07-13-2007 10:15 AM
Getting Drillthrough result from pivottable fieldset =?Utf-8?B?a3N0cml5aG9u?= ASP .Net 4 07-25-2005 03:52 PM
<fieldset> tag =?Utf-8?B?SSBhbSBTYW0=?= ASP .Net 0 05-24-2005 07:53 PM
<fieldset> & CSS luke HTML 2 03-14-2005 05:20 AM
div within fieldset - validation error advice RobM HTML 19 11-16-2004 05:03 AM



Advertisments