我不明白我的代码有什么问题,因为我在许多教程中都看到了同样的问题。请帮助....这是代码:
$(document).ready(function() {
$('#div').click(function() {
type: 'POST';
String url= 'fivepluscms/client/CMSGallery.jsp';
String data = $('a').attr('id');
String equalPosition = data.indexOf('='); //Get the position of '='
String number = data.substring(equalPosition + 1);
$.get(url, number, function(raspuns){
$('#div class="ngg-gallery-thumbnail"').html(raspuns);
});
});
});