how to pass multiple arguments to onSuccess function in Prototype?
I am a beginner in using Prototype library. I want to know how we can pass multiple arguments to onSuccess/onFailure function in Prototype?
For example:-
    
    new Ajax.Request('testurl',{
			method: 'post',
			parameters: {param1:"A", param2:"B", param3:"C"},
			onSuccess: fnSccs,
			onFailure: fnFail
			})


In my success function fnSccs:-

    function fnSccs(response)
	{
		alert(response.responseText);
	}

I want to pass a new argument to fnSccs function. How is that possible. Thanks for any help.


how to pass multiple arguments to onSuccess function in Prototype?
===

I am a beginner in using Prototype library. I want to know how we can pass multiple arguments to onSuccess/onFailure function in Prototype?
For example:-
    
    new Ajax.Request('testurl',{
			method: 'post',
			parameters: {param1:"A", param2:"B", param3:"C"},
			onSuccess: fnSccs,
			onFailure: fnFail
			})


In my success function fnSccs:-

    function fnSccs(response)
	{
		alert(response.responseText);
	}

I want to pass a new argument to fnSccs function. How is that possible. Thanks for any help.

