![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
文章平均质量分 83
swingfly321
这个作者很懒,什么都没留下…
展开
-
通过jquery的selector获取表单的值
例如有这样的一个表单,我想要通过jquery获取它的各个控件的值:<input type= "text" id = "title_key_word" style='width:95%'></input><select id = "export_type" style='width:100%' ><option value = "%&qu2009-03-10 13:38:07 · 536 阅读 · 0 评论 -
Objects as associative arrays
On this page I explain how JavaScript objects are also associative arrays (hashes).Using these you can associate a key string with a value string, which can be very useful sometimes.Suppose you have...原创 2009-03-10 13:56:20 · 108 阅读 · 0 评论 -
单引号,双引号,javascript,HTML,转义字符
在一个网页中的按钮,写onclick事件的处理代码,不小心写成如下:<input value="Test" type="button" onclick="alert(""OK"");" />IE提示出错后,再漫不经心地改为:<input value="Test" type="button" oncl原创 2009-06-02 16:27:57 · 788 阅读 · 0 评论