Html 如何从web浏览器打开文件夹浏览
我是RoR的使用者,我的英语不好 在我的web应用程序中,只要单击链接,我就想在explore(windows)或finder(mac)中打开特定文件夹 如何做到这一点 我试过了,但没有达到预期效果 我用哈姆语写的Html 如何从web浏览器打开文件夹浏览,html,ruby-on-rails,Html,Ruby On Rails,我是RoR的使用者,我的英语不好 在我的web应用程序中,只要单击链接,我就想在explore(windows)或finder(mac)中打开特定文件夹 如何做到这一点 我试过了,但没有达到预期效果 我用哈姆语写的 %a{href: "file:///c:¥SAMPLE¥Sample_bar.png", target: "_blank"} click here! %a{href: "file://localhost/c|¥SAMPLE¥Sample_bar.png", target: "_bla
%a{href: "file:///c:¥SAMPLE¥Sample_bar.png", target: "_blank"} click here!
%a{href: "file://localhost/c|¥SAMPLE¥Sample_bar.png", target: "_blank"} click here!
%a{href: "file:///c|¥SAMPLE¥Sample_bar.png", target: "_blank"} click here!
%a{href: "file://localhost/c:¥SAMPLE¥Sample_bar.png", target: "_blank"} click here!
%a{href: "file:///C:¥SAMPLE¥Sample_bar.png", target: "_blank"} click here!
%a{href: "file://localhost/C|¥SAMPLE¥Sample_bar.png", target: "_blank"} click here!
%a{href: "file:///C|¥SAMPLE¥Sample_bar.png", target: "_blank"} click here!
%a{href: "file://localhost/C:¥SAMPLE¥Sample_bar.png", target: "_blank"} click here!
您能帮我吗?使用
文件\u字段
标记,并为表单使用多部分
html选项