H
Hugo Digital
New Member
** SOLVED **
Hi,
I searched for a native Elementor feature to insert a "select" list with links to internal pages of the site: I couldn't find it.
So I used the "HTML" feature of Elementor (not the HTML feature of WP).
Here is the code :
But the button does not work.
Could you please help me.
Regards,
Hugo
Hi,
I searched for a native Elementor feature to insert a "select" list with links to internal pages of the site: I couldn't find it.
So I used the "HTML" feature of Elementor (not the HTML feature of WP).
Here is the code :
HTML:
<form class="select" name="destinations">
<select name="destination-select">
<option selected='selected'>-- Select your destination --</option>
<option value='http://website/link-1'>Australia</option>
<option value='http://website/link-2'>French polynesia</option>
<option value='http://website/link-3'>New Zeland</option>
</select>
<div class="select_arrow">
</div>
<input type="button" class="destinations-button" onclick="location=document.destinations.destination-select.options[document.destinations.destination-select.selectedIndex].value" value="Go to destination !">
</form>
But the button does not work.
Could you please help me.
Regards,
Hugo
Last edited: