How can i get my Button to click on a radio button and press Submit in another webpage?
Printable View
How can i get my Button to click on a radio button and press Submit in another webpage?
Welcome to Forums, kimrogkr!
What programming language do you use for your development?
Im useing Visual Basic 2005, and im makeing a shourtcut to a web page.
Like my buttons in the program correspond to a radio button and sublit button in another web page.
Moved to VB.NET
I'm having a hard time trying to visualize what exactly that you want to do... Can you give a detailed example?
nobody know?:(
say if you dont know what im meaning..
stanav did say that. We aren't sure what you mean. :)Quote:
Originally Posted by kimrogkr
im programming a script for a webpage, and one of my button shall mark a radio button and pres on submit on another webpage..
understand now?
I think I know what you're trying to do.. does this work for you? Also, are you programming in ASP.net? If so...
vb Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Checks a radio button RadioButton1.Checked = True 'Redirects person to another page Response.Redirect("page2.aspx") End Sub
As far as the pressing the submit button on another webpage, do you mean sending the person to another page? If so, the code above will do that. If you mean checking a radio button and then firing an event for pressing a button on a completely separate page... I'm not sure how you would do that.