antonyjohn Posted September 14, 2007 Share Posted September 14, 2007 I have a link on my html page.Onclicking the link a popup(not a popup window)is generated using ajax.The content of the popup is a php page. The issue is i need that php page to function like ordinary php page,ie i have some textboxes and a submit button.Onclicking the submit button,it should do the database operations as i have coded in that php page and the result should be shown in my popup page.Please suggest me a solution.. Quote Link to comment Share on other sites More sharing options...
Stickybomb Posted September 25, 2007 Share Posted September 25, 2007 create a popup with an iframe in it and load the php page. Quote Link to comment Share on other sites More sharing options...
bijeesh4u Posted September 25, 2007 Share Posted September 25, 2007 Hi, I think its better to use javascript for creating pop-up. You can then make your php script running using the method of ajax inside that pop-up. That is you can use the ajax code when you click in the submit button present in the popup. Thanks, Bijeesh K G 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.