[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Auto udfyld med java virker ikke i Firefox



Jeg har en form der skal skal udfylde felter, men det virker ikke i firefox.
Det virker i Arora, Konqueror, Explore(win), Midori.

Hvad har jeg gjort galt?

Kan ses på http://thorup.linux.dk/tst1.htm

MVH

Jesper

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="da">
<head>
<meta http-equiv="Content-Language" content="da" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Test</title>

<script type="text/javascript">
<!--
function FillInst()
 {
 selectBox = document.forms.Test.InstSelect;
 var data = selectBox.options[selectBox.selectedIndex].value;
 var field=data.split(";",2);
 Test.Felt1Navn.value = field[0];
 Test.Felt2Navn.value = field[1];
 };
-->
</script>
</head>

<body>
<form name="Test" onsubmit="return(ValidateOnSubmit());" action="/cgi-bin/formmail/formmail.cgi" method="post">

<table>
<tr>
 <td>Navn:</td>
 <td>
   <select name="InstSelect" onchange="FillInst()">
     <option value=";;;;">Slet poster!</option>
     <option value="Felt 1 A;Felt 2 A">Felt 1</option>
     <option value="Felt 1 B;Felt 2 B">Felt 2</option>
   </select>
 </td>
</tr>

<tr>
 <td><label for="Felt1Navn">Felt1 Navn:</label></td>
<td><input id="Felt1Navn" onchange="validatePresent(this, 'InfFelt2Navn');" type="text" name="Felt1Navn" size="40" /></td>
</tr>

<tr>
 <td><label for="Felt2Navn">Felt2 Navn</label></td>
<td><input id="Felt2Navn" onchange="validatePresent(this, 'InfFelt2Navn');" type="text" name="Felt2Navn" size="40" /></td>
</tr>
</table>

<input type="submit" value="Afsend!" name="Submit" />
<input type="reset" value="Ryd felter!" name="Reset" onclick="reset_advice()" />

</form>

</body>
</html>



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2010-01-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *