Mam taki problem mam sobie pole tekstowe i to wszystko jest przysyłane za pomocą ajaxa i w tym problem, że to się tylko przesyła za pomocą przycisku HTML, jak nacisnę enter to już się nie prześlę tylko spróbuje załadować pustą stronę.
Zapomniałem kodu źródłowego
<div align=center width=500><iframe src=./strony/czat2.php width=600 height=300 NAME=auto frameborder="0"></iframe></div>
<form method=get>
<input type=text id=czat size=60>
<input type = "button" value ="wyslij"
onclick = "getData3('./strony/czat3.php',
'TargetDiv2')" >
</form>
<div id=TargetDiv2></div>