| Issue 121: | Ajax POST request | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Hi,
is there a way to forge an http post request using nyroModal ajax window?
I've tryed this:
function showModal(ndg) {
$.nyroModalManual({
debug: true,
type: 'ajax',
selIndicator: true,
bgColor: '#333',
ajax: {url: 'index.php', data: 'post_params='+ndg, type: 'POST'},
closeButton: null
});
}
<p><a id="manual" href="#" onclick="showModal('123456');">Manual Call</a></p>
Thanks
Danilo
Nov 29, 2008
The version 1.3.1 is now released with this bug fix.
Dec 1, 2008
Perfect, thanx. I'll upgrade immediatly! |
I thought this bug was fixed on the last version. Apparently it's not. On my current dev version (ie the next release) it'll work. The correct code will be (not the place of the url settings) function showModal(ndg) { $.nyroModalManual({ debug: true, bgColor: '#333', url: 'demoSent.php', ajax: {data: 'post_params='+ndg, type: 'post'}, closeButton: null }); }Labels: Type-Defect