Autor Zpráva
Celebi
Profil
Kde je chyba?
<button onclick="window.setTimeout("alert('bla')",1000);">xxx</button>
ah01
Profil
Uvozovky

<button onclick="setTimeout('alert(\'bla\')',1000);">xxx</button>
peta
Profil *
Celebi
<button onclick="window.setTimeout("alert('bla')",1000);">xxx</button>

===

aaa="bbb"ccc('ddd')",1000)"
jak bys takovy zapis pochopil ty?
ja tedy jako prohlizec a to:
aaa="bbb" cccERROR
peta
Profil *
resp jeste jinak receno
onclick="window.setTimeout(" alertERROR
byl ocekavany onclick="..." alert="..." avsak "=" za alert parametrem tagu BUTTON nebylo nalezeno
Toto téma je uzamčeno. Odpověď nelze zaslat.

0