I have a script with a form with:
enctype = "multipart/form-data"
an input type=file and a submit button.
So when you click submit the php-script checks that the choosen file is a image-file and that the size isn't to big and saves it to server.
When you press the submit button, the file is uploaded, I get directed to the php-page and I redirect back to the origin page where the image is displayed.
How can I do this dynamicly??
I want to press the submit button and not get redirected to the php-page.
I just dunamicly want to "wait" on the "submit"-page and show something like "loading...", and when it is loaded, render it on screen again. All this without redirection.
Please help me!!