Hi quite some problems doing an ajax call.
I wanna check if a pagetitle exists!
js function checkout(){ ... elem1.value is the value of a input field naw_title is the id of the input field
var test=sajax_do_call( "wfAjaxCheckPageTitle", [ elem1.value ], naw_title);
I registered ajax reaction
$wgAjaxExportList[] = 'wfAjaxCheckPageTitle';
function wfAjaxCheckPageTitle( $title ) { global $wgOut; return 'test' ; }
So if the title exists i wanna send back a errormessage, else nothing
regards mic