开发者

Sending a selectbox value to fancy box

开发者 https://www.devze.com 2023-02-06 19:33 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消