in reply to Quick CGI Question

Ah, so it cannot be appended to elements? E.G.
<table id="inputTable"> or <div id="myDiv">

Replies are listed 'Best First'.
Re: Re: Quick CGI Question
by Chady (Priest) on Aug 27, 2002 at 18:24 UTC

    from perldoc:CGI:

    If the first argument is an associative array reference, then the keys and values of the associative array become the HTML tag's attributes:
    so doing: table({-id=>"blah", .... gives you what you want on any element.
    He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

    Chady | http://chady.net/