|
Hi I am a beginner with mb.containerPlus and I would like some pointers how to use mb.containerPlus such that I can send variables ($_GET) within the url so that the variables are processed and displayed in the page within the container? Thanks |
|
Hi, As you can get the container content via ajax, you can of course pass parameters to the call; just add as value of the "data" into the metadata string your parameters. For example:
As you can see above you can specify the url of the page to call via ajax (data:'yourContentPage.ext') and the params to pass to the call (data:'yourContentPage.ext', data:'foo=1&bar=2&...'). Bye, Matteo Thanks for your responses But I am asking whether there's a way in which I can put the variables within a link, then the page loaded within the container can get the variables using $_GET and process them. If this isnt possible please suggest any other way the above issue can be solved. Thanks again
(Jun 07 '10 at 09:02)
Stanley Ngumo
|
|
You can also use the ajax version of building containers to send data. The insert function has a data variable that accepts name=value&name=value&etc... Look who I am talking to, hehehe, the man who wrote the script. Gee, I think he knows that already, what do you think. And yes, I talk to my self all the time just like this.
(Jun 08 '10 at 10:13)
Cory Cullers
|


