如何仅在提供文件夹名称作为输入的情况下动态在文件夹中查找文件的路径 [英] How find the path of the file in folder dynamically only giving folder name as input

查看:102
本文介绍了如何仅在提供文件夹名称作为输入的情况下动态在文件夹中查找文件的路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上,我想读取图像的路径并在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[^]


这篇关于如何仅在提供文件夹名称作为输入的情况下动态在文件夹中查找文件的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆