kts Posted March 2, 2010 Share Posted March 2, 2010 Hey, I am having a bit of trouble making my specific divs show per select choice... onchange="document.getElementById(value).style.display = 'block'; doesn't seem to work... any other suggestions? Link to comment https://forums.phpfreaks.com/topic/193937-select-shows-div-depending-on-value/ Share on other sites More sharing options...
Dennis1986 Posted March 2, 2010 Share Posted March 2, 2010 onchange="document.getElementById(this.selectedIndex).style.display = 'block'; Link to comment https://forums.phpfreaks.com/topic/193937-select-shows-div-depending-on-value/#findComment-1020632 Share on other sites More sharing options...
kts Posted March 2, 2010 Author Share Posted March 2, 2010 Thanks Dennis, just got the solution as well! haha, oh well. Cheers Link to comment https://forums.phpfreaks.com/topic/193937-select-shows-div-depending-on-value/#findComment-1020634 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.