Mailinglisten-Archive |
Hallo Liste,
ich hab ein kleines Problem.
Ich würde gerne JavaScript Code
in PHP-Source einfügen.
Leider funktioniert das nicht richtig.
Ich schicke mal einen Teil vom Code mit:
<?
echo "<script language=\"JavaScript\">
function setFocus();
{
document.form1.texfield.focus();
}
</script>";
echo "<html>
<head>
<title>Short Message send...</title>
<meta http-equiv=\"Content-Type\" content=\"text/html;
charset=iso-8859-1\">";
...
echo "<link rel=\"stylesheet\" href=\"anw.css\" type=\"text/css\">
</head>
<body bgcolor=\"#FFFFFF\" text=\"#000000\" onLoad=\"setFocus()\">
Wäre dankbar für Hilfe.
Greez Benny
php::bar PHP Wiki - Listenarchive