Hi guys,
i want to set a link to the select fields in webflow.
I already implemented the CMS - texts:
MOMARIA - Exklusive Fahrzeuge kaufen. (Marke auswählen)
If a user clicks on a button, user should get to the single listing page.
Also the second select button should only display nested, selected cms items (Modell auswählen).
Would be very glad if someone could take a look.
Here is the code to get the cms items into the select field:
<script>
$('.selectmarke').each(function(){
var s = $(this).text();
$('.selectmarkedrop').append('<option value="'+s+'">'+s+'</option>');
});
</script>
<script>
$('.selectmodell').each(function(){
var d = $(this).text();
$('.selectmodelldrop').append('<option value="'+d+'">'+d+'</option>');
});
</script>
Thanks!