HTML: HTML中用JS调用OC方法 [removed] function openAlbum() { // 打开相册(openMyAlbum为OC中的方法) [removed]....
分类:
Web程序 时间:
2015-06-08 14:50:36
阅读次数:
137
今天在配置ecstore2.0的定时任务时候,发现ECOS后台每30秒通过JS调用http://localhost/ecstore-bugfix/index.php/shopadmin/index.php?ctl=default&act=status地址来执行定时任务是无效的。ECOS如果没办法执行...
分类:
其他好文 时间:
2015-06-08 11:22:50
阅读次数:
165
HTML代码: HTML中用JS调用OC方法 打开相机 打开相册 #OBJECT-C[objc]view plaincopy-(BOOL)webView:(UIWebView*)webViewshouldStartLoad...
分类:
Web程序 时间:
2015-06-05 19:07:08
阅读次数:
126
1、base64加密在页面中引入base64.js文件,调用方法为:base64加密 2、md5加密 在页面中引用md5.js文件,调用方法为md5加密 3、sha1加密 据说这是最安全的加密 页面中引入sha1.js,调用方法为sha1加密 以下附带各js加密源码base64.jsmd...
分类:
Web程序 时间:
2015-06-03 15:24:58
阅读次数:
178
window.open调用父窗口中的方法回调函数:function fun9(ex){ alert(ex);}调用语句:window.open("RoomSelecter.htm?Ran"+Math.random(), "RoomSelecter");窗口页面中调用父窗口中的语句:if (wi...
分类:
Web程序 时间:
2015-05-29 13:34:48
阅读次数:
126
webView = (WebView) this.findViewById(R.id.webview); WebSettings webSettings = webView.getSettings(); webSettings.setJavaScriptEnabled(t...
分类:
编程语言 时间:
2015-05-18 18:46:30
阅读次数:
117
asp.net调用前台js调用后台代码分享C#前台js调用后台代码前台js后台代码public string Getstr(){ string aa = "你们好啊!"; return aa;}C#后台调用前台js代码前台js后台代码protected void Button1_Click(ob.....
分类:
Web程序 时间:
2015-05-16 18:16:44
阅读次数:
138
JS调用后台方法大全javascript函数中执行C#代码中的函数:方法一:1、首先建立一个按钮,在后台将调用或处理的内容写入button_click中;2、在前台写一个js函数,内容为document.getElementById("btn1").click();3、在前台或后台调用js函数,激发...
分类:
Web程序 时间:
2015-05-11 19:39:42
阅读次数:
131
//demo.js 调用
window.onload = function () {
// $().getClass("a").css("color","red");//旧方法
/* $("#box").css("color", "red").click(function(){
alert($(this).html())
});*/
//...
分类:
Web程序 时间:
2015-05-10 13:02:21
阅读次数:
216