I want to load this content https://www.paypal.com/uk/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside in to jquery simplemodal dialog.
How can i do that?
UPDATE
I've tried this sample:
$('#paypal-popup').click(function (e) {
var src = "http://365.ericmmartin.com/";
$.modal('<iframe src="' + src + '" height="450" width="830" style="border:0">', {
closeHTML: "",
containerCss: {
backgroundColor: "#fff",
borderColor: "#fff",
height: 450,
padding: 0,
width: 830
},
overlayClose: true
});
});
and it is working for me, but if i change src url to https://www.paypal.com/uk/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside it is redirecting me there.
How may i fix that?