如何防止场刷新? [英] how to prevent field being refreshed?

查看:69
本文介绍了如何防止场刷新?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的..


我尝试上传脚本: http://www.phpletter.com/uploaded/pr...fileupload.zip


在线演示页面,没关系,但是当我下载并尝试localhost时,输入字段总是在按下提交按钮后刷新。


如何防止刷新此字段?我试图找出问题,但我仍然不能。


非常感谢。

解决方案

你有没有做过更改代码?


不,我没有改变任何东西。我下载了它,我试过,如果单击提交按钮,则字段总是刷新。


你能检查一下脚本吗?我真的需要这个脚本用于我的最终任务。 :(


非常感谢。


祝你好运。


该脚本需要jQuery和实际上是一个插件。你下载并安装了jQuery吗?你是否遵循了插件的安装说明此处

dear all..

I try an upload script from: http://www.phpletter.com/uploaded/pr...fileupload.zip

in online demo page, it''s ok, but when I downloaded it and try to localhost, input field is always refresh after submit button is pressed.

how to prevent this field from being refreshed? I tried to find out the problem but I still cant.

Thank you very much.

解决方案

Have you made any changes to the code?


No, I didn''t change anything. I downloaded it, I tried, then field is always refreshed if submit button is clicked.

Could you check the script please? I really need this script for my final assignment. :(

Thank you very much.

Best regards.


The script requires jQuery and is actually a plugin. Have you downloaded and installed jQuery? Have you followed the installation instructions for the plugin here?


这篇关于如何防止场刷新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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