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.. Link to comment https://forums.phpfreaks.com/topic/69302-ajax-popups/ 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. Link to comment https://forums.phpfreaks.com/topic/69302-ajax-popups/#findComment-355150 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 Link to comment https://forums.phpfreaks.com/topic/69302-ajax-popups/#findComment-355341 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.