sharepoint 开发
1. 客户端界面搜索
<div> 业务员:<select name="Select1" id="yewu"> <option>屠格</option> <option>李胜武</option> <option>刘根顺</option> </select>承印单位:<input name="Text1" type="text" id="yinchang"/>ISBN:<input name="Text1" type="text" id="searchbox"/> <input name="Button1" type="button" value="查找" id="searchbtn" onclick="search()"/> <script> function getQueryString(name) { var reg=new RegExp("(^|&)" + name + "=([^&]*)(&|$)","i"); var r=window.location.search.substr().match(reg); if(r!=null) return unescape(r[]);return null; } function search() { var k=document.getElementById("searchbox").value; k=escape(k); var k2=document.getElementById("yinchang").value; k2=escape(k2); var drop = document.getElementById("yewu"); var k3=drop.options[drop.selectedIndex].value;//获取select的值 k3=escape(k3);
window.location.href="http://point/jcfs/SitePages/zhaoguang_yewu.aspx?k="+k+"&k2="+k2+"&k3="+k3; } document.getElementById("searchbox").value=unescape(getQueryString("k")); document.getElementById("yinchang").value=unescape(getQueryString("k2")); var drop = document.getElementById("yewu"); for(i=;i<drop.length;i++){//给select赋值 if(unescape(getQueryString("k3"))==drop.options[i].value){ drop.options[i].selected=true } } </script></div>
2. 获得查询字符串
function getQueryString(name)
{
var reg=new RegExp("(^|&)" + name + "=([^&]*)(&|$)","i");
var r=window.location.search.substr(1).match(reg);
if(r!=null)
return unescape(r[2]);return null;
}
3. 表单内容编辑器
3、表单内容编辑器
<div onkeydown="javascript:if (event.keyCode == 13) _SFSUBMIT_"><input type="text" name="T1"/><input type="button" value="搜索" onclick="javascript:_SFSUBMIT_"/></div>
4. 在列表项插入超链接
、 列表项插入超链接 <HTML><![CDATA[<a target="_blank" href="http://point/jcfs/Lists/xtjd2_lst/xt_jd读取列表.aspx?ID=]]></HTML>
sharepoint 开发的更多相关文章
- [转]SharePoint开发中可能用到的各种Context(上下文)
SharePoint是一个B/S结构的产品,所以在开发过程中会使用到各种各样的上下文(Context)信息,借此机会来总结一下.特别是Javascript的Ctx非常实用,这里记录一下! 一.Http ...
- 转载 SharePoint开发部署WSP解决方案包
转载原出处: http://642197992.blog.51cto.com/319331/1582731 注:本文所讲内容以SharePoint2013版本为例,开发工具以VS2013为基础.历史版 ...
- 步步为营 SharePoint 开发学习笔记系列总结
转:http://www.cnblogs.com/springyangwc/archive/2011/08/03/2126763.html 概要 为时20多天的sharepoint开发学习笔记系列终于 ...
- SharePoint开发
做SharePoint开发有时候是一件比较痛苦的事情,毕竟庞大的框架总是笨重的~~ 往往如果采取传统的方式开发SharePoint的话,更改一个代码需要有以下操作: 1)更改代码 2)VS编译——&g ...
- Visual Studio 中的 Office 和 SharePoint 开发
MSDN Library 开发工具和语言 Visual Studio 中的 Office 和 SharePoint 开发 https://msdn.microsoft.com/zh-cn/libra ...
- SharePoint开发中可能用到的各种Context(上下文)
转载: http://www.cnblogs.com/erucy/archive/2012/08/25/2655600.html 电脑正在以无比慢的速度从微软网站上安装Office Component ...
- SharePoint开发中怎样使用Visual Studio给你的Web Part加入图标
版权声明:本文为博主原创文章.未经博主同意不得转载. https://blog.csdn.net/u012025054/article/details/36051545 SharePoint开发中怎样 ...
- sharepoint 开发相关工具总结
1.CAML Designer 2013 开发caml用 http://biwug-web.sharepoint.com/SitePages/Caml_designer.aspx 2.SharePoi ...
- 系列文章--SharePoint 开发教程
SharePoint 2013 图文开发系列之入门教程 学习地址:http://www.cnblogs.com/jianyus/p/3461719.html 里面有2007.2010.2013各个版本 ...
- SharePoint 开发TimerJob 介绍
项目需要写TimerJob,以前也大概知道原理,不过,开发过程中,还是遇到一些问题,网上看了好多博客,也有写的灰常好的,不过,自己还是想再写一下,也算是给自己一个总结,也算给大家多一个参考吧. Tim ...
随机推荐
- cocos2dx 3.x以上版本搭建Mac环境(百分百可行)
近期由于工作的原因,有机会接触了游戏行业,说实话,本人学程序最原始的初衷就是想做游戏,于是就创建了一篇cocos2d-x的分类来记录我在学习cocos2d-x的成长过程. 首先第一篇,想学cocos2 ...
- Azure Remote Desktop: "An error occurred while loading from file *.rdp"
Tonight I deployed a new cloud service where I needed remote desktop to check on some things. After ...
- Linux bash运维操作日志审计(单服务器)
目前公司有几台机器比较重要,需要把所有用户的操作记录下来,于是就是参照资料来完成 1. vim /etc/profile.d/oplogrc.sh logdir=/opt/oplog userdir= ...
- Lintcode: Permutation Index II
Given a permutation which may contain repeated numbers, find its index in all the permutations of th ...
- SLF4J环境变量配置
因部分程序需要,需要把SLF4J加入到环境变量中. 添加位置:CLASSPATH 添加信息如下: C:\slf4j-1.7.19\slf4j-nop-1.7.19.jar;
- zepto和jquery的区别,zepto的不同使用8条小结 会JS就会zepto
1. Zepto 对象 不能自定义事件 例如执行: $({}).bind('cust', function(){}); 结果: TypeError: Object has no method 'ad ...
- BCB 多线程的同步与协调
多线程编程是提高系统资源利用率的一种常见方式.它占用的资源更小,启动更快,还可以实现在后台运行一些需时较长的操作.[喝小酒的网摘]http://blog.hehehehehe.cn/a/8498.ht ...
- shell学习笔记(2)替换命令··与()的区别
·CMD·在执行的时候,shell不管··中的内容是什么,先进性解释,再把解释后的最终结果送给shell,如果解释后的结果不是shell可以行的命令,就会报错.但是仅仅把cmd的执行结果作为文本输出, ...
- Myeclipse10编写jsp时出现 Multiple annotations found at this line:
今天,老师讲完课做了一个小练习,就是编写一个jsp页面.写完后,我发现少些了点东西,我准备使用<% %>添加是发现,报错了 Multiple annotations found at th ...
- canvas基本画图
<img src="img/lamp.gif" id="lamp"/> <img src="img/eg_tulip.jpg&quo ...