perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Smith" <>
Subject Preventing selected being added to option tags
Date Mon, 21 Jan 2008 15:10:59 GMT

Can someone please clarify how I prevent 'selected' being
automatically added to selects?  Here's my embperl file:


        <select name="test">
                <option value="A">A</option>
                <option value="B">B</option>
                <option value="C">C</option>
        <input type="submit">

What happens is that once you submit the form, 'selected' gets
automatically added to the relevant option tag.

How can I prevent this, and set it (or not set it) myself instead??

Many thanks


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message