wenn ich versuche "smilies" einzufügen und ich klicke drauf dann erscheint folgende FM:
Zeile: 109
Zeichen: 17
Fehler: 'document.form.long_desc.createTextRange' ist Null oder kein Objekt
Code: 0
Zeile 109:
Code: Alles auswählen
if (document.form.long_desc.createTextRange && document.commentform.comment.caretPos)
Code: Alles auswählen
function emotions(text)
{
if (document.form.long_desc.createTextRange && document.commentform.comment.caretPos)
{
var caretPos = document.form.long_desc.caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
document.form.long_desc.focus();
}
else
{
document.form.long_desc.value += text;
document.form.long_desc.focus();
}
}
Code: Alles auswählen
<form enctype="multipart/form-data" action="{S_ADD_FILE_ACTION}" method="post" onsubmit="return checkAddForm();">
<textarea rows="6" name="long_desc" cols="32" class="post" style ="border: #445566; border-style: solid; border-width: 1px; width:500px; height:120px;">{FILE_LONG_DESC}</textarea>
Diese Fehlermeldung erscheint im IE.
Im Firefox kann ich "Smilies" einfügen.
Mozilla reagiert überhaupt nicht auf einen Klick mit der Maus

Hat jemand ne Ahnung was falsch ist?
gruß
grizzli