PDA

View Full Version : Need Help in a code!!



chrisgocrazyH
30-12-2007, 09:45 PM
Hello, I'm making a new site and i want it so when u hit submit it would go to a loading page wile the file is uploading? (IS it possible??)

i have got Divs and css on the site so yeah :)

Help me with the code

Reply with a link or the code but hopefully it wont stuff up the uploading.

Forge
30-12-2007, 09:48 PM
<form action="page.php" method="post">
and in page.php add some code that makes the browser redirect to the output page.

Awfy
30-12-2007, 09:56 PM
Or you could use an javascript <div> popup which shows when you click the button and put a simple loading image in it. Will be tutorials all over the place for it.

chrisgocrazyH
30-12-2007, 10:30 PM
will use that but will it stuff up the upload??

like say i was uploading an image with that it will still redirect to that page but if the file is big it will say loading??

loserWILL
30-12-2007, 10:34 PM
You're asking for an upload script then, right?

chrisgocrazyH
30-12-2007, 10:56 PM
You're asking for an upload script then, right?


No i have done my own i need somthing that will say loading while the image or file is uploading

loserWILL
30-12-2007, 11:21 PM
Ajax would work, would it not?

chrisgocrazyH
31-12-2007, 03:00 AM
Ajax would work, would it not?


i dont know really i've tried most of the codes but they nva work :P

Want to hide these adverts? Register an account for free!