Jump to content

[SOLVED] Cancel file upload


jaymc

Recommended Posts

you could just actually reload the page with javascript and that should destory the upload process.

 


<script language="javascript">

function stopUpLoad()
{
document.location.href="thispagesaddresshere.html";
}

</script>

<a href="javascript:void(0)" onclick="stopUpLoad()">Cancel Upload</a>

In my livechat system you can send files

 

after browsing and clicking submit, it submits to an iframe within the page, therefor, no refresh

 

All working fine, but, in the event someone wants to stop a file upload, I want a button that will cancel it

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.