国际惯例先上图
采用mvc+ajax+sql
功能很简单,主要是为了方便我自己查询用,因为公司的电话是用保存在excel里面的
我觉得很不方便所以就做了这样一个东西
上面还有一个图其实效果是一样的就是可以支持中文名称
点击有邮件地址的同事可以自己打开outlook发送邮件
代码也很简单。等有时间了整理下发上去
也共享下。
主要用到了以下几个js
jquery.smartsuggest.js
ZeroClipboard.js
jquery.jBox-2.3.min.js
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
31
32
33
34
35 |
$(document).ready( function () { $( ‘#field1‘ ).smartSuggest({ src: ‘../handle/SearchHandle‘ , fillBoxWith: ‘fill_text‘ , executeCode: false , minChars: 1 }); $( ‘.show‘ ).click( function (){ if
($( this ).html() == ‘Show code‘ ) { $( ‘pre.‘ +$( this ).attr( ‘class‘ ).split( ‘ ‘ ).slice(-1)).show(); $( this ).html( ‘Hide code‘ ); } else
{ $( ‘pre.‘ +$( this ).attr( ‘class‘ ).split( ‘ ‘ ).slice(-1)).hide(); $( this ).html( ‘Show code‘ ); } $( this ).blur(); }); }); var
clip= null function
GetCliboder(stext, obj) { } function
GetCompanyID() { var
comid=0; $( "#navContainer ul" ).find( "li" ).each( function
(i) { if
($( this ).attr( "class" )== "current" ) { comid= $( this ).attr( "tab" ); } }); return
comid; } |
好久没有写东西了发一个1年前写的东西,布布扣,bubuko.com
原文:http://www.cnblogs.com/keepsilence/p/3630959.html