I am trying to send some information from a drop down menu when it changes to a classic Asp action page which I want to have grab the information, format it as needed and then return the final variable value. Everything submits fine to Asp but I get a blank value returned.
Here is my JQuery
$.ajax({
type: "POST",
url: "newslettercreate_action.asp",
data: { newsletter_publication: id_val, func_id: "1" },
dataType: "html",
success: function(theSite) {
alert(theSite);
},
error: function(){
alert("fail");
}
});
And here is the Asp that is handling this information
thisQuery = ""
set thisRS = dbAccessObj.DirectQuery("live", thisQuery)
newsletter_list = thisRS("newsletter_list")
newsletter_list_vals = Split(newsletter_list,"_")
UBound(newsletter_list_vals)
theSite = newsletter_list_vals(0)
I modded the asp code a bit to just show the important parts. My ultimate goal is to return theSite to JQuery Ajax to later be used but as I said, it is returning a blank value.