wo2001: checked geht nicht bei onfocus?

hi,
bei diesem radiobutton:
<input type="radio" name="herrfrau" value="0" style="border-color:#ffffff" "checked" onfocus="top.location.href=top.location.href+'?isfirma=yes&herrfrau=0&id=3'">

wird er nicht ausgewählt angezeigt, sondern erst, wenn ich das onfocus rausnehme. woran liegt das bloß?

  1. hi

    nimm die anführungszeichen um das CHECKED weg, dann sollte es funktionieren. :)

    so long
    ole
    (8-)>

    1. hi

      nimm die anführungszeichen um das CHECKED weg, dann sollte es funktionieren. :)

      so long
      ole
      (8-)>

      ach sorry. da waren nie welche, die sind da aufgetaucht, weil ich das checked mit echo in php ausgegeben habe. im quelltext steht:
      <input type="radio" name="herrfrau" value="1" checked onfocus="top.location.href=top.location.href+'?isfirma=no&herrfrau=1&id='" style="border-color:#ffffff">  Frau

      aber tut sich nix :o(

      1. hi

        aber tut sich nix :o(

        also, bei mir funzt das ohne probleme (WinNT IE6, NN6.22). radiobutton ist checked

        so long
        ole
        (8-)>

        1. hi

          aber tut sich nix :o(

          also, bei mir funzt das ohne probleme (WinNT IE6, NN6.22). radiobutton ist checked

          so long
          ole
          (8-)>

          komisch.. ich hab auch ie 6 :
          aber danke dir