Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Auto-Press Button

Reply
Thread Tools

Auto-Press Button

 
 
Al
Guest
Posts: n/a
 
      04-17-2004
How to Hit the Submit Button via loading the page.?

Explain:
I have page with username and Submit button
the value of the username is hardcoded in asp page
but i do not want the user to click on the submit instead
i like to have such a page as a link that they click
and go to asp page with submit button but pressed through the link instead
the user click the submit button.

hope this message is read fine.



TIA
Jose


 
Reply With Quote
 
 
 
 
Evertjan.
Guest
Posts: n/a
 
      04-17-2004
Al wrote on 17 apr 2004 in microsoft.public.inetserver.asp.general:
> How to Hit the Submit Button via loading the page.?


Wrong NG.

ASP is serverside, and your question is strictly clientside.

Please see a clientside NG.

==============

btw:

<body onload="document.Myform.submit();">

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
 
Reply With Quote
 
 
 
 
Al
Guest
Posts: n/a
 
      04-17-2004
I tried <body onload="document.Myform.submit();"> and did not work what
would be the proper way to do it

thanks


"Evertjan." <(E-Mail Removed)> wrote in message
news:Xns94CEAA1F17F47eejj99@194.109.133.29...
> Al wrote on 17 apr 2004 in microsoft.public.inetserver.asp.general:
> > How to Hit the Submit Button via loading the page.?

>
> Wrong NG.
>
> ASP is serverside, and your question is strictly clientside.
>
> Please see a clientside NG.
>
> ==============
>
> btw:
>
> <body onload="document.Myform.submit();">
>
> --
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress)



 
Reply With Quote
 
Evertjan.
Guest
Posts: n/a
 
      04-17-2004
Al wrote on 17 apr 2004 in microsoft.public.inetserver.asp.general:
> I tried <body onload="document.Myform.submit();"> and did not work what
> would be the proper way to do it


Perhaps I made a coding error,
but please do not continue this off-topic subject here.

Try: comp.lang.javascript

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
 
Reply With Quote
 
Bob Lehmann
Guest
Posts: n/a
 
      04-17-2004
Replace Myform with the name of YOUR form. If you haven't named the form,
use forms[0] - assumes you only have 1 form on your page, or is the first
form.

Invest in a javascript book if you are going to be doing this kind of
coding.
Take post to a client-side group.

Bob Lehmann

"Al" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I tried <body onload="document.Myform.submit();"> and did not work what
> would be the proper way to do it
>
> thanks
>
>
> "Evertjan." <(E-Mail Removed)> wrote in message
> news:Xns94CEAA1F17F47eejj99@194.109.133.29...
> > Al wrote on 17 apr 2004 in microsoft.public.inetserver.asp.general:
> > > How to Hit the Submit Button via loading the page.?

> >
> > Wrong NG.
> >
> > ASP is serverside, and your question is strictly clientside.
> >
> > Please see a clientside NG.
> >
> > ==============
> >
> > btw:
> >
> > <body onload="document.Myform.submit();">
> >
> > --
> > Evertjan.
> > The Netherlands.
> > (Please change the x'es to dots in my emailaddress)

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
image button click event fires before click event of button Purvi T ASP .Net 0 10-19-2004 06:19 AM
Image button acting like submit button. Russell ASP .Net 3 06-24-2004 01:55 AM
Button.Init? how Do I know if click event has been fired? TextBox.TextChanged event before Button.Click in a CompositeCustomControl. jorge ASP .Net 2 05-25-2004 11:45 PM
HTML Reset Button Doesn't work after postback with Submit button Chris Lane ASP .Net 4 11-17-2003 11:52 PM
JavaScript Access to Button in form tags (webcontrol or html button) Wes Weems ASP .Net 1 07-20-2003 05:27 AM



Advertisments