随笔分类 -  Javascript/NodeJS

Javascript/NodeJS
摘要:Angularhttps://angular.cn/ React中文网™ - 用于用户界面构建的JavaScript库https://reactjs.org.cn/ React – A JavaScript library for building user interfaceshttps://re 阅读全文
posted @ 2018-11-03 15:49 任国强 阅读(908) 评论(0) 推荐(0) 编辑
摘要:https://casbootadminserver.herokuapp.com/#/applications/23bd8218/trace 阅读全文
posted @ 2018-07-23 23:04 任国强 阅读(662) 评论(0) 推荐(0) 编辑
摘要:Notepad++ plugin manager install 'JSTOOL' http://tool.oschina.net/codeformat/js https://www.cnblogs.com/i7758/p/5262241.html 阅读全文
posted @ 2018-07-10 16:44 任国强 阅读(153) 评论(0) 推荐(0) 编辑
摘要:http://phantomjs.org/ PhantomJS is an optimal solution for: Page automation Access webpages and extract information using the standard DOM API, or wit 阅读全文
posted @ 2018-06-21 17:51 任国强 阅读(233) 评论(0) 推荐(0) 编辑
摘要:https://developer.mozilla.org/zh-CN/docs/Web/API/Window/setTimeout 阅读全文
posted @ 2018-06-21 17:49 任国强 阅读(154) 评论(0) 推荐(0) 编辑
摘要:https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials 阅读全文
posted @ 2018-05-31 18:13 任国强 阅读(525) 评论(0) 推荐(0) 编辑
摘要:Selenium vs TestStudio,不知道差异在哪里? Selenium Grid vs F2Test,后者更优。 用Selenium + FireFox做了一个单机抓图,想要扩展成集群的话,感觉用F2Test比较爽。 阅读全文
posted @ 2017-08-24 17:40 任国强 阅读(337) 评论(0) 推荐(0) 编辑
摘要:https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding In JavaScript there are two functions respectively for deco 阅读全文
posted @ 2017-08-22 09:20 任国强 阅读(413) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/joyhen/article/details/43271569 js 单引号替换成双引号,双引号替换成单引号 操作 解决问题的场景: Java端生成了JSON串,用FreeMarker翻译到input的value值里边,而value=之后用的双引号(当然用单 阅读全文
posted @ 2017-08-09 16:53 任国强 阅读(331) 评论(0) 推荐(0) 编辑
摘要:http://befused.com/javascript/get-filename-url Get filename from URL using Javascript This snippet will get the filename from the url. The filename is 阅读全文
posted @ 2017-08-01 17:04 任国强 阅读(782) 评论(0) 推荐(0) 编辑
摘要:Raphaël http://dmitrybaranovskiy.github.io/raphael/ // ┌────────────────────────────────────────────────────────────────────┐ \// │ Raphaël 2.1.0 - J 阅读全文
posted @ 2017-06-29 14:06 任国强 阅读(237) 评论(0) 推荐(0) 编辑
摘要:<a href="javascript:window.history.back()">previous page</a> 阅读全文
posted @ 2017-06-12 14:01 任国强 阅读(310) 评论(0) 推荐(0) 编辑
摘要:保存 保存返回列表 返回 $(document).ready(function(){ var buttonId; $('#patentEditForm').validator().on('submit', function (e) { ... 阅读全文
posted @ 2017-05-19 14:54 任国强 阅读(2282) 评论(0) 推荐(0) 编辑
摘要:https://zhidao.baidu.com/question/1668225805834130107.html全局变量默认为window的成员,window即代表浏览器窗口全局变量均为window的属性函数均为window的方法https://zhidao.baidu.com/question 阅读全文
posted @ 2017-05-19 14:36 任国强 阅读(2889) 评论(0) 推荐(0) 编辑
摘要:https://www.w3schools.com/jsref/met_his_back.asp This is the same as clicking the "Back button" in your browser, or history.go(-1). go(-1); <-> back() 阅读全文
posted @ 2017-05-10 17:43 任国强 阅读(212) 评论(0) 推荐(0) 编辑
摘要:d3js : http://animateddata.co.uk/lab/d3-tree/# javaFx2 : https://docs.oracle.com/javafx/2/animations/img/tree-only.jpg https://docs.oracle.com/javafx/ 阅读全文
posted @ 2017-05-03 09:46 任国强 阅读(377) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/2559616/javascript-true-form-reset-for-hidden-fields 把input type="hidden" 修改为 : type="text" style="display:none;" 阅读全文
posted @ 2017-04-25 16:48 任国强 阅读(1379) 评论(0) 推荐(0) 编辑
摘要:Adding two numbers concatenates them instead of calculating the sum JavaScript里两个变量 var a = 2; var b = 1; var c = "(" + a + b +")"; alert(c); 结果输出:(21 阅读全文
posted @ 2017-04-17 19:06 任国强 阅读(2214) 评论(0) 推荐(0) 编辑
摘要:兼容参数类型为Number和String 阅读全文
posted @ 2017-02-20 15:51 任国强 阅读(725) 评论(0) 推荐(0) 编辑
摘要:/** * Bug绕过去方案WorkAround * Bug描述: * JQuery的Validation的和form的input元素设为readonly,一对不可调和的矛盾: * 一个设置为required的input元素,永久设置为readonly,表单提交时,如果该字段值为空, * Validation功能就不能正常工作;反之,如果不设置readonly,又没法限制用户胡乱粘贴非... 阅读全文
posted @ 2017-01-22 17:52 任国强 阅读(254) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示