Claudia S.: Mit image funktioniert oneclick nicht mehr!

Beitrag lesen

Hi Christoph

Um weiteren Missverständnissen vorzubeugen weise ich dir foldenden Javascript Auszug vor:
function stocker(form) {
var nomcookie=form.nomcookie.value;
var phrase=form.phrase.value;
      newCookie(nomcookie,phrase);
      newCookie("lastcookie",nomcookie+"="+phrase);

document.location.href=("Cookie2.htm");
}

// --></script>

<P></P>

<form method="post" enctype="multipart/form-data" name="test">
 <fieldset>
 <table border="0">
    <tr>
      <td><strong>1)</strong> Tapez un <strong>nom</strong> de cookie quelconque : </td>
      <td><input size="30" Type="hidden" value="135.3" name="nomcookie" ></td>
    </tr>
    <tr>
      <td><strong>2)</strong> Tapez un <strong>contenu</strong> quelconque pour ce cookie :<strong>
      </strong></td>
      <td><input size="30" name="phrase" value="8//-<8" style="VISIBILITY: hidden"   ></td>
    </tr>
    <tr>
      <td><input SRC="E:\Kopie von public_html\Formulare\Bilder\p1010005.jpg" Type="image" ALT="Hanf" onclick=stocker(this.form); width="214" height="193" name="I2" value="8**9**8*2<" > </td>
    </tr></TR>
  </table>
</fieldset>
</form>

Also sobald ich eine Grafik (Name=I2) importiere, habe ich in meinem Editor eine Fehlermeldung oder eine nicht voll ausgeführte Funktion.

Besten Dank für deinen Einsatz.

Lieber Gruss Claudia