Do you mean passing multiple variables in this AJAX call?

$.ajax({
    url: 'path/to/servlet',
    data: {
        postVariableName: selection
    },
    type: 'POST'
});​

Yes, you can.  Just add them to the "data" parameter:

$.ajax({
    url: 'path/to/servlet',
    data: {
        foo: false,
        bar: 'banana',
        cad: 100
    },
    type: 'POST'
});​

On Thursday, February 20, 2014 2:04:12 AM UTC-5, Devendra Patel wrote:
>
> can i pass muliple variable in this ajax method. 
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to