Jump to content

HOW retriewe data of a list and put into html element ?


faure
 Share

Recommended Posts


<body>

<script type="text/javascript">

function Lien() {

   
var x = document.getElementById('liste' ); 
 
    

<!--here  !!-->

<!--how put the choice into demo ?????????????-->


}
</script>

   
    
<div id="myDIV"   style="position absolute; left:10px;top:10px;width:50px;visibility:visible;">

<FORM  NAME="Choix">

 

<SELECT  id='liste' NAME="aliste" onChange="Lien()">

<!-- liste here ???-->

 

<OPTION VALUE="">Choisir une option
<OPTION VALUE="../../copains.html">Les copains
<OPTION VALUE="../../plongee/index.html">La plongée
</SELECT>
</FORM>

</div>

 

<p id= 'demo''          </p>

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...