Bonjour,

Je cherche à mettre des ancres dans une liste déroulante vers une même page.

J'ai fait ceci mais sa ne fonctionne pas?

Code html : 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
<select onchange="location.href='#'+this.value">
   <option value="href="#note>Ancre1</option> 
   <option value="href="#note2>Ancre2</option>
   <option value="href="#note3>Ancre3</option>
</select>
 
 
 
        <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
        <br><br><br><br><br><br><br><br><br><br><br><br><br>
 
        <span class="ancre" id="note">Ancre1</span> 
        <br><br><br><br><br><br><br><br><br><br><br><br><br>
        <span class="ancre" id="note2">Ancre2</span>         
        <br><br><br><br><br><br><br><br><br><br><br><br><br>         
        <span class="ancre" id="note3">Ancre3</span>


Je vous remercie de votre aide

Max