Saturday, 14 September 2013

selectbox display the same div

selectbox display the same div

I want selecbox to show div.
no matter what I choose in the selectbox I want to display the same div
I took this code:
$('#Field16').bind('change',function(){
$('.box').hide();
$('#'+$(this).val()).show();
});
What do I need to change?
Thanks

No comments:

Post a Comment