Sending a selectbox value to fancy box
http://jsfi开发者_开发问答ddle.net/cR2SB/15/
Please check the link above; the code is there. All I want to do is to send the value from the selectbox to the fancybox.
Need some help people... stuck on this problem for the last two days, and have tried a variety of stuff.
Until we get more info for your problem, since you are using jQuery anyway I recommend getting select element values like this :
href:'index.php?incident_maincateid=' + $('#mySelectboxsituation_found option:selected').val()
.
Its cleaner and easier to read.
精彩评论