Jump to content

On fileupload complete - switch


yaricks

Recommended Posts

Hi!

I'm working on getting into some ajaxy website design, and I'm working on a "post news script". The script itself is working ok, but I wanted to add an image upload to it, and now to make it a bit smoother for the user, I wanted to avoid reloading the page when the user wants to upload the image.

 

I have an old image upload script I could use, but that would require a bunch of unnecessary refreshes and page switches. Does anyone have a suggestion to how I could do this in one page?

 

Basically my idea was to have just an upload button somewhere in the form, and when the file has been uploaded, the button disappears and just the filename is left - or something like that.

Link to comment
https://forums.phpfreaks.com/topic/227815-on-fileupload-complete-switch/
Share on other sites

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.