javascript
文章平均质量分 83
iteye_18101
这个作者很懒,什么都没留下…
展开
-
[转]jqGrid Dynamically loading select options
转自:http://geekswithblogs.net/renso/archive/2009/07/02/jqgrid-dynamically-loading-select-options.aspx Scenario: You are using the jqGrid to edit rows that contain fields that are of HTML tag type "S...原创 2011-03-10 10:55:10 · 122 阅读 · 0 评论 -
[转]Jquery操作select 收藏
最近使用JQuery来编写前端js脚本,涉及到依据下拉框的值确定其他下拉框中数据项。需要实现对下拉框中候选项的添加删除等,使用 js写的话简直会死人的。还好使用JQuery。以下是操作 下拉列表的常用功能: 1.获取列表项中候选项的数目。 2.获得选中项的索引值。 3.获得当前选中项的值 4.设定选择值 5.设定选择项 // 得到selec...原创 2011-03-10 15:36:40 · 95 阅读 · 0 评论 -
The content of elements must consist of well-formed character data or markup
javascript运行出现以下错误提示 The content of elements must consist of well-formed character data or markup 可以尝试在脚本代码段加入CDATA <script type="text/javascript"> //<![CDATA[ ... //]]> ...原创 2011-03-27 23:11:55 · 89 阅读 · 0 评论