转载
小昭
大家好,我创建了个《前端菇凉群》,群号:233424171 欢迎广大前端菇凉入群
展开
-
Jquery操作select
最近使用JQuery来编写前端js脚本,涉及到依据下拉框的值确定其他下拉框中数据项。需要实现对下拉框中候选项的添加删除等,使用js写的话简直会死人的。还好使用JQuery。以下是操作 下拉列表的常用功能:1.获取列表项中候选项的数目。2.获得选中项的索引值。3.获得当前选中项的值4.设定选择值5.设定选择项...Code highlighting produc转载 2009-10-27 17:53:00 · 482 阅读 · 0 评论 -
JQUERY做的省市管理系统
--------------Msg.js------------------/*---By:秦迷---Date:2009-03-12*/$=function(o){return typeof(o)=="string"?document.getElementById(o):o}; String.prototype.Trim = function(){return this.replace(/(^/s转载 2009-10-27 18:02:00 · 1162 阅读 · 0 评论 -
JQUERY JS实现select上移下移自定义排序
/****自定义排序***By 秦迷*/$=function(o){return typeof(o)=="string"?document.getElementById(o):o}; function up(orderStr){ var nowIndex=$(orderStr).selectedIndex; if (nowIndex==-1){ alert("请先选择要移动的项!"); ret转载 2009-10-27 17:59:00 · 2622 阅读 · 0 评论 -
VSS出错"Could not find the Visual SourceSafe Internet Web Service connection..."
<br />今天同事遇到个奇怪问题,以前也遇到过,不过重新绑定一下就OK了,不知道为什么今天不行了。<br />错误提示:<br />===============================================<br />Could not find the Visual SourceSafe Internet Web Service connection information for the specified database<br />Would you like to launc转载 2010-06-04 09:09:00 · 2973 阅读 · 3 评论 -
插入一条记录后,得到准确的主键ID号
<br />我在 SQL2005中<br />insert into t_A(node,userid) values(8,8)<br />select SCOPE_IDENTITY() <br /> <br /> <br />在宿远的博客http://suchenge.cnblogs.com/里面看到有篇好的东西,给大家分享一下。<br />SQL Server 2000中,有三个比较类似的功能:他们分别是:SCOPE_IDENTITY、IDENT_CURRENT 和 @@IDENTITY,它们都返回插入到原创 2010-08-05 11:01:00 · 1693 阅读 · 0 评论