[plug] html code help
hooker at iinet.net.au
hooker at iinet.net.au
Wed Mar 31 06:19:24 WST 2004
Quoting Jon Miller <jlmiller at mmtnetworks.com.au>:
> Trying to insert a checkbox in front of a line of code, can someone analyse
> what I'm doing wrong?
>
> <input name="Cisco" type="Checkbox" value="ON"><a href="CiscoTools"><dir
> compact><b>Cisco Tools</b></dir></a>
I assume that you want the checkbox to be "ticked" when someone follows the
link? Also, you've got a file called "CiscoTools" in the same directory as this
web page right?
If you just want the checkbox to be ticked, then drop the '<a ...></a>', it's
not necessary or useful. If you want a link to be followed there's not much
point in having a checkbox unless the browser also generates a new page when
for "CiscoTools". If you don't throw a new page, the current one gets replaced,
and clicking a "back" button will redraw the page you came from as it
originally was, sans completed checkboxes, selectors, text input fields and the
like.
Hooker
More information about the plug
mailing list