saravanataee Posted January 11, 2013 Share Posted January 11, 2013 Dear all, I m presently having a php page in which i have table contains data from sql for an item. And i m looking to have a button for a field of item, which when i click it should open an ajax window with details from another sql table. Basically the idea is i have a purchase order form i.e in my present window in php in which i will have a field i.e Against PO pending. the value for that field will basically the calculated value from another sql table. When i clikc a button in PO pending it should load me the Po Pending table details in ajax pop up were i m able to pick the Pending po value.. How could i accomplish that.. I m not having any background in Ajax. Can anyone give me an example similar to my need.. So, that i can use as base reference.!! Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/272996-need-help-in-creating-ajax-pop-up-box-in-php-page/ Share on other sites More sharing options...
TRI0N Posted January 16, 2013 Share Posted January 16, 2013 Not sure about Ajax but this can easily be done with FancyBox jQuery with href new_query.php?id=### with a MySQL Query to pull from another database. http://fancybox.net/ Example on top row middle effect is nice to use for such things. Quote Link to comment https://forums.phpfreaks.com/topic/272996-need-help-in-creating-ajax-pop-up-box-in-php-page/#findComment-1406179 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.