$("#testing").change(function()
{
var id = $(this).val();
$.ajax({
url:'Servlet',
type:"get",
dataType: "json",
async: false,
cache: false,
processData: false,
data: id,
sucess: function(result) {
alert(result);
},
error: function(req, err)
{
console.log('my message' + err);
}
});
return false;
});
joshua_8
0
Newbie Poster
minitauros
151
Junior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.