Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: Passing 'SELECT MULTIPLE' parameters and CGI

by ikegami (Pope)
on Aug 17, 2010 at 22:24 UTC ( #855634=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Passing 'SELECT MULTIPLE' parameters and CGI
in thread Passing 'SELECT MULTIPLE' parameters and CGI

The only difference is that XML (and thus XHTML) requires that you specify a value if you specify the attribute. XHTML does not impose any extra requirements on what the value is.

It's must either be multiple="multiple" in both or in neither.


Comment on Re^5: Passing 'SELECT MULTIPLE' parameters and CGI
Download Code
Re^6: Passing 'SELECT MULTIPLE' parameters and CGI
by fullermd (Priest) on Aug 17, 2010 at 23:54 UTC
    XHTML does not impose any extra requirements on what the value is.

    It does, actually. See the DTD:

    <!ATTLIST select [...] multiple (multiple) #IMPLIED

    That defines the 'multiple' attribute as having an enumerated set of possible values. Though in this case, there's not much enumeration to the set :)

    EDIT: Actually, on re-reading, I guess I may just be agreeing with you...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://855634]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2015-07-02 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (31 votes), past polls