PB avec OnMouseOver

JC -  
johndoe Messages postés 2645 Statut Contributeur -
Bonjour à tous!

Je rencontre une difficulté apperement toute windosiennes car mon prog fonctionne bien sous unix... mon soucis est le suivant :

il manque arpès l'utilisation de onmouseover les arguments que je souhaite passer... je ne comprens pas pourquoi.
Voici le code de mon programme :

<?xml version="1.0" ?>
<html:html locale="true">
<link rel="stylesheet" href="sam.css"/>
</br>
</br>
<tr>
<center>
<h1> CHOIX DE LA PLAGE TEMPORELLE POUR LA VISUALISATION DES MESSAGES</h1>
</center>
</tr>
</br>
</br>
</br>
<head>
<center>
<script language="JavaScript" src="date-picker.js"></script>

<script language="JavaScript">
function convertTime(date){
d = new Date(date.toString());
return d.getTime();
}

function myfunc(){
document.form2.xpath.value="//message[header/PROTOCOL_NAME/@value='"+document.forms[0].protocol.value+"']";// + convertTime(document.filtre.date1.value) + " > " + convertTime(document.filtre.date2.value) ;
alert("val=" + document.form2.xpath.value);
}
</script>
</center>
</head>

<body>
<center>
<form name="filtre" method="Get" action="http://10.1.2.9:8080/exist/xmldb/db/" enctype="application/x-www-form-urlencoded">
<table border='0'>

<tr>
<td align='right'>Protocol</td>

<td>

<SELECT type='text' name="protocol" value="titi">
<option>PHOEBUS</option>
<option>SUPERVISION</option>
</SELECT>
</td>

</tr>

<tr>
<td align='right'>Période du</td>
<td>
<input type='text' name="date1" size='18'/><a href="javascript:show_calendar('filtre.date1',null,null,'DD/MM/YYYY');"><img src="image/show-calendar.jpg" width='24' height='22' border='0'/></a>
</td>
</tr>
<tr>
<td align='right'>au</td>
<td>
<input type='text' name="date2" size='18'/><a href="javascript:show_calendar('filtre.date2',null,null,'DD/MM/YYYY');"><img src="image/show-calendar.jpg" width='24' height='22' border='0'/></a>
</td>
</tr>
</table>
</form>

<form name="form2" method="Get" action="http://10.1.2.9:8080/exist/xmldb/db/" enctype="application/x-www-form-urlencoded">

<input type='hidden' name='xpath' value=''/>

<INPUT type='submit' value="recherche" src='img/rechercher.jpg' onMouseOver="myfunc()" />

</form>
</center>
</body>
</html:html>

Un grand merci par avance à qui pourra m'aider.

2 réponses

johndoe Messages postés 2645 Statut Contributeur 386
 
Salut,
Si c'est un bleme windaube, tu devrais peut etre poster ton truc sous la rubrique logiciel ... nan ?

_
No money, no honey, One Boss !
0
jipicy Messages postés 41342 Statut Modérateur 4 896
 
Hi john,

Elle y est déjà :
http://www.commentcamarche.net/forum/affich-796265-Soucis-avec-onmouseover
et là aussi :
http://www.commentcamarche.net/forum/affich-796391-Probleme-avec-OnMouseOver

;-))

Z'@+...che.
JP : Cap de burro Catalan ! 
        Mais Content ;-)
0
johndoe Messages postés 2645 Statut Contributeur 386
 
bon,.... je sors !
il est drole l'autre avec son histoire un peu differente , de souri sexy :DDD
Ok------------------------------------------------->>>>>>>>

_
No money, no honey, One Boss !
0