Roman Pfarrhofer: Formular Problem

Beitrag lesen

Hallo Karl

Versuche eimal den Script-Tag um die Funktion zu geben!

Versteh ich net ganz, könnteste das bitte nen bißchen näher erklären?

Deine JavaScript schaut so aus

function go() {
                   location.href = 'http://www.xxx.yyy/' + document.passwordForm.userid.value + '/' + document.passwordForm.password.value + '.shtml';
                   return false;
               }

Man muss ihn aber in einem Script-Tag einschliessen.

<script language="JavaScript">
function go() {
                   location.href = 'http://www.xxx.yyy/' + document.passwordForm.userid.value + '/' + document.passwordForm.password.value + '.shtml';
                   return false;
               }
</script>

Naeheres entnimme bitte aus Selfhtml.

Cu Roman