Issue 121: Ajax POST request
Status:  Fixed
Owner: ----
Closed:  Nov 2008
Reported by dfan...@gmail.com, Nov 25, 2008
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 25, 2008
Project Member #1 nyro...@gmail.com
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
	});
}
Status: Fixed
Labels: Type-Defect
Nov 29, 2008
Project Member #2 nyro...@gmail.com
The version 1.3.1 is now released with this bug fix.
Dec 1, 2008
#3 dfan...@gmail.com
Perfect, thanx.
I'll upgrade immediatly!