salut a toute ca fais 2jrs que je guosse sur ce code
a chake onchange dans la liste deroulante elle dois recharge
lapage avec les nouveaux infos dynamiquement
quelqun vois lerreur????
<form name="frmPIECEINFORMATIQUE"ACTION="PieceInformatique.asp"method="post" >
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#0033FF">
<tr>
<td height="476">
<div align="center">
<table width="800" height="474" border="1" cellpadding="0" cellspacing="0">
<tr>
<td height="82">
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="800" height="80">
<param name="movie" value="logo.swf">
<param name=quality value=high><param name="LOOP" value="false">
<embed src="logo.swf" width="800" height="80" loop="false" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
</object>
</div></td>
</tr>
<tr>
<td height="37" bgcolor="#333333">
<div align="center">
<table width="154" border="1" align="left" cellpadding="0" cellspacing="0">
<tr>
<td width="33"> <div align="right"> </div></td>
<td width="10"> <div align="center">
<select name="cboCategorie" onChange="location.href='PieceInformatique.asp?choix='+document.formulaire.liste.selectedIndex'">
<%
dim objrsAfficherCategorie,lolo
lolo= request("Type")
if request("Type")= "2" then
set objrsAfficherCategorie = Server.CreateObject("ADODB.Recordset")
infoP = "SELECT tblCategorie_Informatique.Categorie_Informatique FROM tblCategorie_Informatique;"
objrsAfficherCategorie.Open infoP, objConn, 2, 3, 1
do While not objrsAfficherCategorie.eof
Response.write "<OPTION>" & objrsAfficherCategorie("Categorie_Informatique") & "</OPTION>"
objrsAfficherCategorie.MoveNext
loop
end if
%>
<%response.Write(valeur)%>
</select>
</div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td height="109" bgcolor="#FF9900">
<div align="center">
<table width="798" height="102" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="102" bgcolor="#CCCCCC">
<%
dim objrsAfficherProduits,valeur
valeur=request("choix")
response.Write("valeur")
response.Write(valeur)
set objrsAfficherProduits = Server.CreateObject("ADODB.Recordset")
infoP = "SELECT tblProduit_Informatique.CodeUPC, tblProduit_Informatique.NomImage, tblProduit_Informatique.MarqueDeCommerce, tblProduit_Informatique.Model, tblProduit_Informatique.DetailArticle, tblProduit_Informatique.PrixClient, tblProduit_Informatique.QTEStock FROM tblTypeProduit INNER JOIN (tblCategorie_Informatique INNER JOIN tblProduit_Informatique ON tblCategorie_Informatique.ID_Categorie_Informatique = tblProduit_Informatique.ID_Categorie_Informatique) ON tblTypeProduit.ID_Type_Produit = tblProduit_Informatique.ID_Type_Produit WHERE(tblCategorie_Informatique.Categorie_Informatique)='" & valeur &"';"
objrsAfficherProduits.Open infoP, objConn, 2, 3, 1
do While not objrsAfficherProduits.eof%>
<div align="center">
<tr>
<%Response.write "<td align='center' font='#ffcc00' bgcolor='#ffcc00'>" & objrsAfficherProduits("CodeUPC") & ""
Response.write "<td align='center' font='#ffcc00' bgcolor='#ffcc00'>" & objrsAfficherProduits("MarqueDeCommerce") & ""
Response.write "<td align='center' font='#ffcc00' bgcolor='#ffcc00'>" & objrsAfficherProduits("Model") & ""
Response.write "<td align='center' font='#ffcc00' bgcolor='#ffcc00'>" & objrsAfficherProduits("DetailArticle") & ""
Response.write "<td align='center' font='#ffcc00' bgcolor='#ffcc00'>" & objrsAfficherProduits("PrixClient") & ""
Response.write "<td align='center' font='#ffcc00' bgcolor='#ffcc00'>" & objrsAfficherProduits("QTEStock") & ""
objrsAfficherProduits.MoveNext
loop
response.Write("valeur")
%> </tr>
</div></td>
</tr>
</table>