tmyonline Posted August 1, 2009 Share Posted August 1, 2009 Guys, I have a table of records. Each record is represented by a row. Each row has an "Update" link. I'm looking for a way that enables me to launch an update form (preferably as a pop-up window) when I click on the Update link. I heard it can be done in JavaScript but client browsers may have JavaScript or pops-up disabled. Can it be achieved in PHP instead ? Thanks. Quote Link to comment Share on other sites More sharing options...
gevans Posted August 1, 2009 Share Posted August 1, 2009 As php is server-side you cannot use it to launch a pop-up window. Quote Link to comment Share on other sites More sharing options...
.josh Posted August 1, 2009 Share Posted August 1, 2009 alternative to js is to use target="_blank" in your anchor tag. This will only create a full sized window (or tab, depending on user's browser settings). If you are wanting to control size, you're still stuck with js. Quote Link to comment Share on other sites More sharing options...
gevans Posted August 1, 2009 Share Posted August 1, 2009 Also you need to use the frameset doctype if you want to be valid whilst using the 'target' attribute. Quote Link to comment Share on other sites More sharing options...
haku Posted August 2, 2009 Share Posted August 2, 2009 Use a CSS popup. They are powered by javascript, but will not be blocked by browsers. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.