Jump to content

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


Recommended Posts


<script type="text/javascript">

function Lien() {

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

<!--here  !!-->

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


<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



<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

  • Create New...