首页 \ 问答 \ js中onclick传值问题

js中onclick传值问题

在js中,要为新打开的页面添加个返回按钮,想在goBackProd方法中传多个值,为什么onClick=\"javaScript:goBackProd(\'"+all+"\',\'"+all2+"\');\"不行,应该怎么写?
更新时间:2023-05-17 18:05

最新回答

如果你以虚拟主机的方式在nginx上跑网站,就把默认的虚拟主机的主机名写成ip地址 ,它的网站目录下放错误信息提示页面的html文件 。默认虚拟主机配置类似:

server {
listen 80;
server_name 192.168.1.12 default;
root D:\ServCode\www;
index index.html;
}
可以把文件直接放到webapps下面。当只...
1

配置虚拟目录也有两种方法,直接介绍我...
2

通过习惯用的编辑器打开server.xml,可...
3

在的上面添加
           






                

            
 


            
 
    
           

相关问答

更多
  • Nginx是一个小巧而高效的Linux下的Web服务器软件,与Apache相比,消耗资源更少,支持的并发连接,更高的效率,反向代理功能效率高、静态文件处理快等。Apache是一款老牌的Web服务器软件,在高并发时对队列的处理比FastCGI更成熟,Apache的mod_php效率比php-cgi更高且更稳定、对伪静态支持好,不需要转换、多用户多站点权限等方面有着更好的效果……LNMPA这种架构有什么优势?LNMPA使用Nginx作为前端服务能够更快更及时的静态页面、js、图片等,当客户端请求访问动态页面时由 ...
  • location / { if (!-e $request_filename) { rewrite ^/(.+\.(html|xml|json|htm|php|jsp|asp|shtml))$ /index.php?$1 last; } } shopex的NGINX伪静态规则如上,只要要放哪,看你NGINX的安装路径,是不能放在根目录的,比如你的安装路径是/usr/local/nginx 那么在NGINX的conf文件夹下面,建立一个shopex.conf 内容填写上面的规则,然后找到你的NGINX域名配置 ...
  • nginx伪静态[2022-07-15]

    在server段加入下面一段: location / { try_files $uri $uri/ /show.php?aid=$uri&$args; }
  • 我除了调试 openresty 项目会启动本地 nginx,其他都不会啊。有一万种方法启动本地静态文件服务器,基本现代流行的语言都带了。具体应该就是这个情况吧,怎么说呢。反正我经常去后盾人平台去看一些这种东西,你要是感兴趣的话,你也可以去呀。
  • 可以把文件直接放到webapps下面。当只... 1 配置虚拟目录也有两种方法,直接介绍我... 2 通过习惯用的编辑器打开server.xml,可... 3 在的上面添加 评论0 0 0 加载更多
  • 如果你以虚拟主机的方式在nginx上跑网站,就把默认的虚拟主机的主机名写成ip地址 ,它的网站目录下放错误信息提示页面的html文件 。默认虚拟主机配置类似: server { listen 80; server_name 192.168.1.12 default; root D:\ServCode\www; index index.html; }
  • 用缓存吧. 把首页要查询的数据都丢到缓存memcached里. 因为是集中式缓存,所有的节点都可以用到了.
  • location / { rewrite ^([^\.]*)/go/?i=([0-9]+)$ $1/go/$2 last; rewrite ^([^\.]*)/go/index\.php?i=([0-9]+)$ $1/go/$2 last; #为了完善一点 if (!-e $request_filename) { return 404; } }
  • 是的,你可以这么做。 我喜欢使用Node with Express和结果的瘦堆栈。 我相信,由于性能问题,推荐使用像Nginx这样的Web服务器的早期版本的Node。 我不确定它是否有效。 Yes you can do that. I like using Node with Express and the thin stack that results. I believe with early versions of Node using a web server like Nginx was reco ...
  • 回答我自己的问题,因为我能够在搜索之后找到答案,所以将其发布在这里是为了其他可能有同样问题的人的利益。 我预计这将适用于任何后端,而不仅仅是gunicorn。 https://www.nginx.com/resources/admin-guide/serving-static-content/ 在标题为“尝试多个选项”的部分中,最后一个示例显示了此问题的解决方案,使用静态位置块中的try_files指令,如果找不到请求的文件,我可以告诉nginx将请求传递到命名位置。 这是我的新nginx配置文件,它现在正 ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)