如何仅在提供文件夹名称作为输入的情况下动态在文件夹中查找文件的路径

编程入门 行业动态 更新时间:2024-10-08 13:32:40
本文介绍了如何仅在提供文件夹名称作为输入的情况下动态在文件夹中查找文件的路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

实际上,我想读取图像的路径并在div中动态显示.

Actually i want to read the image''s path and dynamically show in the div . and also div create dynamically as same number of the image file.

推荐答案

此图像,客户端或服务器在哪里?如果它在服务器上,则Javascript将无济于事,因为它正在客户端上运行.如果映像在客户端上,则由于安全沙箱,您访问用户文件系统的能力将受到限制 Where is this image, client or server? If it is on the server then Javascript won''t help since it is being run on the client. If the image is on the client then you will have limited ability to access the users file system because of the security sandbox

您不能在客户端执行此操作,但请参考此链接带有jQuery和XML的ASP.NET幻灯片控件 [ ^ ] You Cant do it in client side but refer this link ASP.NET Slideshow Control with jQuery and XML[^]

更多推荐

如何仅在提供文件夹名称作为输入的情况下动态在文件夹中查找文件的路径

本文发布于:2023-11-01 01:06:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1547799.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件   文件夹   路径   情况下   名称

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!