|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Popup
Hi,
I have a webpage which displays the records from a database, I then have a button which passes the ID of the record clicked to a second asp.net page where the id is used to perform secondary actions before the page displaying its output, what I would like is for the button to open this second page in a pop-up window whilst still passing the ID data, any ideas? The code I have at the moment is <form action='FindAddress.aspx' method='post'><input type='submit' value='Map'><input type='hidden' name='id' value='" & rs("id") & "'></FORM> rs("id") is the id for the record taken from the database. Thanks, Wayne |
|
#2
|
||||
|
||||
|
Depends if you want an address bar etc. If you don't mind the buttons etc. just add target="_blank" to your FORM tag
__________________
selwonk If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more! |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Popup |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|