Ms7 Search
Google 搜尋 翻譯
calendar
« 十一月 2024 »
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  
近期文章
文章分類
網站連結
Syndicate

« | »

javascript 抓 select 選單的值

2008-12-09 @ 12:27 in PHP, JavaScript, Sql

在抓取 select 選單值的時候,在 firefox 直接用 document.getElementById("選單id").value 就可以,可是在 IE 卻顯示不支援此物件,而必須用下面兩行才可以
  var objmusical = document.getElementById("musical")
  var musical = objmusical.options[objmusical.selectedIndex].text;

還好這種方式 Firefox 也支援

參考: http://www.dwww.cn/News/2007-7/20077301654175256.shtml

迴響

javascript 抓 select 選單的值 | 豬窩

I know this if off topic but I'm looking into starting my own weblog and was
wondering what all is needed to get set up?
I'm assuming having a blog like yours would cost a pretty penny?
I'm not very internet savvy so I'm not 100% certain. Any tips or advice would be greatly
appreciated. Many thanks

作者 flight ticket @ 10:02, 2020-07-31

javascript 抓 select 選單的值 | 豬窩

After exploring a few of the blog articles on your
web page, I seriously appreciate your technique of blogging.
I book marked it to my bookmark webpage list and will be checking back soon. Please check out my web
site as well and tell me how you feel.

作者 web hosting providers @ 21:26, 2020-08-05

javascript 抓 select 選單的值 | 豬窩

This paragraph is genuinely a nice one it assists new internet visitors, who are wishing for blogging.

作者 webhosting @ 21:44, 2020-08-06

javascript 抓 select 選單的值 | 豬窩

I think everything composed was actually very reasonable. But,
what about this? what if you wrote a catchier title?
I am not suggesting your information is not good., but what
if you added something that grabbed people's attention? I mean javascript
抓 select 選單的值 | 豬窩 is a little plain.
You should glance at Yahoo's front page and note how they
create post titles to grab viewers to click. You
might add a related video or a pic or two to grab people interested
about everything've got to say. In my opinion, it might make
your posts a little bit more interesting.

作者 web hosting sites @ 10:01, 2020-08-14

javascript 抓 select 選單的值 | 豬窩

Fantastic items from you, man. I've be mindful your stuff previous to and you're just extremely magnificent.
I really like what you have obtained here, really like what you're stating and the best way
in which you assert it. You're making it enjoyable and you
still care for to stay it sensible. I can't wait to learn far more from you.
That is really a wonderful web site.

作者 web hosting companies @ 12:41, 2020-08-14
«上一篇   1 2 3 4
發表迴響
 authimage