本文介绍了使用JavaScript的HTML表单 - 以CSV格式保存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我想使用这个makeFile()函数保存表单。我希望它以csv格式保存整个表单。如何让它读取整个文件... TQ ...我在做它正确吗?请帮我解决这个问题...... 展开 | 选择 | Wrap | 行号 解决方案 在第2行你需要在 new 和 ActiveXObject 之间留一个空格。 这在网站上是否正确?你不能这样做。 Javascript不会也不应该访问客户端系统,因为它带来了安全风险。 没有它不会成为一个网站...它将在内部使用,所以安全问题不会是一个问题...我如何让它读取表格的所有输入,当我点击保存按钮,它会自动保存为csv格式的共享驱动器...你们可以帮我这个吗? / BLOCKQUOTE> I want to save the form using this makeFile() function.I want it to save the whole form in csv format..How can i make it read the whole file...TQ...n Am i doing it correctly?Please help me solve this problem... Expand|Select|Wrap|Line Numbers 解决方案 in line #2 you need a space between new and ActiveXObject.This is going on a website correct? You can''t do this. Javascript does not and should not have access to the client system because of the security risk it poses.no its not goin to be a website...It will be used internally,so security issue wont be a problem...How can i make it read all the input to the form and when i click the save button,it automatically save to a share drive in csv format...can u guys help me with this? 这篇关于使用JavaScript的HTML表单 - 以CSV格式保存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-03 10:31