I, i need to pass a value to ajax iframe, i using loadData method of Bpopup to this.
The problem is this: don't know how i pass variable to target ajax frame, so when the modal show, catch that value and process it via jQuery
if someone have experience using Bpopup, please help in this case, because Bpopup is a excelent modal and i using in my actual project, this is a url detailed about Bpopup API
PS: when i wrote this note, this direction was offline http://dinbror.dk/blog/bpopup
Actualizacion:
the website is currently ONLINE, pleasy dont calify negative without reason, comment please
I agree with @rsurjano,
bPopUp()
is a clever API and very helpful. I experienced the same predicament until I discovered how to use theloadData
function via plugin inspection.As you may have noticed
bPopUp()
can take in option arguments, for full reference go to:http://dinbror.dk/blog/bPopup/
Here is what I did...
HTML ...within your html body tag
JavaScript
PHP
PLEASE NOTE!!! 1. I didn't go through the normal stuff like PHP security. 2. Make sure your references to the external source files e.g bPopUp.js is valid, the code will obviously won't work if your paths are not correct.