Posted by Dave Mennenoh on 05/10/07 17:53
Using get just prevents the dialog - but still allows the form submission.
I broke out the submit code to a new script and then redirect back to the
form when done. And now that works aside from one thing - When the user
votes, the vote gets cast, and then an id is sent back to the voting form
page - so that the total votes can be displayed under the person they just
voted for. So the URL is something like:
www.somesite.com/votingform.php?id=2
When the user hits refresh - my client wants it so that the form is
displayed in its original form - minus the totals under the image they voted
for - essentially refresh should set the url to the same as above minus the
'?id=2'
That make sense? Any way to accomplish?
--
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
Navigation:
[Reply to this message]
|