Hallo Simone,
Ich möchte eine Checkbox mit einem Event versehen:
.....
<input type=Checkbox name="del[]" value="$id" $check >
<a href="#" onclick="???????">del</a>
....
Vielleicht hilft dir diese Seite dabei etwas:
http://de.selfhtml.org/javascript/objekte/elements.htm#checked
Was du brauchst geht aber wesentlich einfacher (und besser!) über sogenannte Labels als über JavaScript.
Bis dann!
Marc Reichelt || http://www.marcreichelt.de/
--
Linux is like a wigwam - no windows, no gates and an Apache inside!
Selfcode: ie:{ fl:| br:> va:} ls:< fo:} rl:( n4:( ss:) de:> js:| ch:? sh:| mo:) zu:)
http://emmanuel.dammerer.at/selfcode.html
Linux is like a wigwam - no windows, no gates and an Apache inside!
Selfcode: ie:{ fl:| br:> va:} ls:< fo:} rl:( n4:( ss:) de:> js:| ch:? sh:| mo:) zu:)
http://emmanuel.dammerer.at/selfcode.html