Also ich bin bei ASP erstmal komplett neu!
Habe PHP + MySQL hinter mir und will nun auch noch mal
ASP lernen
Naja zu meinem Problem.
ICh habe ein Formular wo mann wenn man das Wort 'gruen'
eingibt, sich die Hintergrundfarbe dementsprechend ändern
soll.. aber das klappt bei mir nicht :-(
Hier mein Code
// Datei >bgtest.formular.asp<
<html>
<form name="form1" method="post" action="bgtest.formular.asp">
<input name="submit" type="submit" id="submit" value="Abschicken">
<input type="text" name="Farbe">
</form>
<% Dim Farbe
IF Farbe = "gruen" THEN bgf = "Green" END IF
%>
<body bgcolor="<% =bgf %>"></body>
</html>
Das klappt irgendwie nicht
(
Danke schonmal im voraus für eure Hilfe!!!!
Gruß André
Habe PHP + MySQL hinter mir und will nun auch noch mal
ASP lernen

Naja zu meinem Problem.
ICh habe ein Formular wo mann wenn man das Wort 'gruen'
eingibt, sich die Hintergrundfarbe dementsprechend ändern
soll.. aber das klappt bei mir nicht :-(
Hier mein Code
// Datei >bgtest.formular.asp<
<html>
<form name="form1" method="post" action="bgtest.formular.asp">
<input name="submit" type="submit" id="submit" value="Abschicken">
<input type="text" name="Farbe">
</form>
<% Dim Farbe
IF Farbe = "gruen" THEN bgf = "Green" END IF
%>
<body bgcolor="<% =bgf %>"></body>
</html>
Das klappt irgendwie nicht

Danke schonmal im voraus für eure Hilfe!!!!
Gruß André
Zuletzt bearbeitet: