Jump to content


Photo

Need help in creating Ajax pop up box in php page!


  • Please log in to reply
1 reply to this topic

#1 saravanataee

saravanataee

    Member

  • Members
  • PipPip
  • 25 posts

Posted 11 January 2013 - 01:02 AM

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!

#2 TRI0N

TRI0N

    Advanced Member

  • Members
  • PipPipPip
  • 215 posts
  • LocationCalifornia

Posted 16 January 2013 - 02:56 PM

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. ;D
Cheers!

TRI0N




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com