javascript 抓 select 選單的值
在抓取 select 選單值的時候,在 firefox 直接用 document.getElementById("選單id").value 就可以,可是在 IE 卻顯示不支援此物件,而必須用下面兩行才可以
var objmusical = document.getElementById("musical")
var musical = objmusical.options[objmusical.selectedIndex].text;
還好這種方式 Firefox 也支援
迴響
Good!!!
You save my code.thanks!!
javascript 抓 select 選單的值 | 豬窩
Thanks for sharing your thoughts on g rsacwgxy.
Regards
javascript 抓 select 選單的值 | 豬窩
Cbd oil that works 2020
Hello to all, how is everything, I think every one is getting more from this site,
and your views are good for new viewers. best cbd oil for pain http://bit.ly/3drY6lE cbd oil
that works 2020 http://bit.ly/3drY6lE
javascript 抓 select 選單的值 | 豬窩
It's a pity you don't have a donate button! I'd most certainly donate to this fantastic blog!
I guess for now i'll settle for book-marking and adding your RSS
feed to my Google account. I look forward to fresh updates and will talk about this blog with my Facebook group.
Talk soon!
javascript 抓 select 選單的值 | 豬窩
I like the helpful information you provide in your articles.
I will bookmark your blog and check again here frequently.
I'm quite certain I'll learn many new stuff right here!
Best of luck for the next!