Bonjour,

Voici mon probleme, j'ai recuperer un code qui permet de lire ses mails lotus notes sur intranet.
Le code fonctionne très bien mais je ne peux ajouter du texte à la fin du champ de texte "Id" car à chaque fois le reste du texte va à ligne suivante, ce qui me décale toute la page

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
 <script language="javascript">
<!--
function courrier(ext)
{
if ((document.servform.serv.value == null) || (document.servform.serv.value == ''))
alert(' MAIL ou ID inexact !');
else open('http://essmail1.essonnes.ibm.com/mail/mail'+document.servform.serv.value +'/' +document.servform.mat.value +ext);
}
//-->
                   </script>
 
                            <form style="margin-top: 0px; height: 0px; width: 0px;" name="servform">
<input tabindex="1" style="font-weight: bold; color: rgb(153, 102, 51); background-color: rgb(252, 252, 252);" name="serv" size="2" maxlength="3">Mail<br>
<input tabindex="2" style="font-weight: bold; color: rgb(153, 102, 51); background-color: rgb(252, 252, 252);" name="mat" size="8" maxlength="8">Id<br>
<input style="color: rgb(153, 102, 51); background-color: rgb(233, 233, 233);" tabindex="3" name="lire" onclick="courrier('.nsf')" value="Valider" type="button">	
</form>
Si vous avez unz solution....

modéré par denisC : ajout des balises code