My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 121: Ajax POST request
2 people starred this issue and may be notified of changes. Back to list
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!

Powered by Google Project Hosting