Support the ongoing development of Laravel.io →
posted 9 years ago
Forms
Last updated 1 year ago.
0

Add an id to the second select box then use javascript to hide the second box based on the first choice.

var $text = $( "#selectbox1 option:selected" ).text(); //selected option from first box

if $text = 'knipkaart' $( "#selectbox2).hide(); //hide the box

Last updated 1 year ago.
0

Thanks

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.