-
hidden forms
I have a form that displays the results of several calculations from data
input into my DB. I don't really want users to have to click the submit button
on the form to see the results. The form is on a page by itself, and I would
rather that the users not even see it. How can I trigger the form so that
the submit button is pressed, and the Response.Redirect automatically takes
the user to the final page?
-
Re: hidden forms
"Kyle" <rkfinch@generationinformed.com> wrote:
>
>I have a form that displays the results of several calculations from data
>input into my DB. I don't really want users to have to click the submit
button
>on the form to see the results. The form is on a page by itself, and I would
>rather that the users not even see it. How can I trigger the form so that
>the submit button is pressed, and the Response.Redirect automatically takes
>the user to the final page?
Do You Use OnReadyStateChange ?
If You Don't --->
function fnStartInit()
{
if (document.readyState=="complete")
{
document.forms(0).sumbit();
}
}
And Put This In BODY Tag <BODY OnReadyStateChange = "fnStartInit()">
This Property Will Work When The Document Is Downloaded To The User
And It Will Submit You To Anything You Want.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks