Hi,
I’m using this really very small script to fire a jSon request:
<script>
$(document).ready(function(){
$('#form_removeData').submit(function(){
var gid = $('.gidRem').val();
var m = $('.m_ToRemove').val();
var url = "memberSearch/membersearch.jsp?user.Email=" + m + "&group.PK=" + gid;
$.getJSON(url, function(data) {
console.log('TRUE or FALSe');
if (data.isMember === 'false') {
return false;
}
});
});
});
</script>
It’s just driving me crazy and doesn’t give no respond… (no response in FireBug under FireFox). I can see the the passed parameters and the query string but
it just doesn’t work… no response in order to run the if statement regarding the user membership.
It showing an error in the jQuery file: http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js at line:5
But I can’t fix it or find the bug.
Any help Pls.?
Many thanks
Messmar