开发者

Pass a query in URL using jquery [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_JS百科 Closed 12 years ago.

I want to pass a $_GET[''] to a php file, when a word is clicked in a div,it must display data from the db.

It displays the data without the query.

The process.php contains SQL statement to query the db and display values.

Thanks Jean


if you are serious, read .ajax();


Take a look at .get();

Example:

$.get('ajax/test.html', function(data) {
  $('.result').html(data);
  alert('Load was performed.');
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜