What's up
What's up

Reputation: 85

How to send and receive array value by ajax.api using classic asp

I want to send array value by ajax and receive but in ajax URL page's it get none value I want to know how to send and receive, please.

in ajax send page's

$('#Available').click(function(){
            $.ajax({
                url:"../clientlist/commisstion_api.asp",
                data:{id_tb:id_tb},
                    global:false,
                    success:function(data){
                        var obj = JSON.parse(data);
                    },
                    error:function(xhr, ajaxOptions, thrownError){
                        console.log(xhr.status);
                        console.log(thrownError); 
                    }
            });
        });

in receive page's

Ltbf1 = request("id_tb")
response.write "Ltbf1"&Ltbf1

this is my header variable send

but in receive page's cant get value.

Upvotes: 2

Views: 215

Answers (1)

story ks
story ks

Reputation: 850

You can try

Ltbf1 = request("id_tb[]")

I hope it works!!!

Upvotes: 1

Related Questions