问:写了个代码,自己写的,不怎么规范,但是能用,请问各位大牛你们怎么写?
就是从 $(".text0=") 找到所有//<a//> 标签,然后把a标签id 整理成数组,再生成一个列表,生成一些锚点.. {代码...}
2017-08-16✓ 已解决
答:js字符串处理,大家有什么好的答案?
{代码...}
2017-12-30
问:js代码;简单的隔行变色;不知道问题在哪里;求请教
<!doctype html><html><head><meta charset="utf-8"><title>无标题文档</title> <script> window.onload=function(){
2016-10-11
答:checkbox选中之后怎么改变背景颜色
{代码...} 简单写了一个 ,可以做参考下。
2018-06-23
答:已知扇形角度,半径,求其中一个角的坐标
<!DOCTYPE html><html><head> {代码...} </head><body> {代码...} </body></html> 个人感觉这样应该可以完成,x、y、r、n都是可以改的,限定旋转在一圈以内。
2015-11-11
答:linux中如何编写shell脚本才能在本地一键发布在远程服务器上的代码?
这是我们简单部署时候喜欢用的脚本: {代码...}
问:A question about yii2 framework
when I read the codes of yiicms, I found a problem that puzzles me all the time. The problem is discribed aretroactively s follow.
2017-12-13
问:vue项目执行 npm run dev 时报错
D:Vue-Projectportdistancenode_modulesescape-string-regexp:1(function (exports, require, module, __filename, __dirname) { _escape-string-regexp@1.0.5@escape-string-regexp
问:phonegap的splashscreen有什么作用呢?
phonegap的splashscreen API有两个方法,一个是show:显示启动画面,一个是hide:隐藏启动页面。 我写了一段测试代码:
2013-07-04
答:jquery里面用 $.ajax post文件
I'm pretty late for this but I was looking for an ajax based image uploading solution and the answer I was looking for was kinda scattered throughout this post. The solution I settled on involved the FormData object. I assembled a basic form of the code I put together. You can see it demonstrates...
答:遍历img取当前点击img属性
{代码...}
2016-09-11
答:js面试题用for循环输出三角形
1.注意规律,输出空格和输出*2.明白console.log的输出,注意拼接 {代码...}
问:js 生成input, 显示不出来文字
js函数生成了一个多选框组,但是文字都显示不出来。<div id="product-radio-wrapper"></div><script>createCheckbox(document.getElementById('product-radio-wrapper'),['手机','笔记本','智能音箱'],'product');function createCheckbox(id,arr,name) {
2018-07-04✓ 已解决
问:chromedriver网页截图,底部会出现空白,是什么原因?
{代码...} 截图出现大量空白,为什么?
2022-11-28
问:有什么办法能用自执行里的变量
我想获取base64 = ss.toDataURL('image/jpeg')输出的值不过下面自执行的时候变量base64是无法存储到他的值的,有什么办法解决?
2016-04-25
问:关于对象遍历的问题
{代码...} 当每次点击按钮的时候,所有的votes都++了,怎么样才能单独的votes++呢?
2016-10-06✓ 已解决
问:Json对象作为函数参数,怎么传递和接收
1.问题描述:每个按钮的绑定了事件传递Json对象,点击对应显示Json数据2.代码: {代码...}
2017-08-02