david
david

Reputation: 107

jquery post to retrieve data

$.post("test.jsp", {id : name}, function(data) {
});

Is it possible to get db values without passing any data in jQuery post? I have a query in separate page("test.jsp") which get values from DB. Is there anyway to get values without any post data?

Upvotes: 0

Views: 32

Answers (1)

Damien
Damien

Reputation: 1600

You don't need post if the data is available in your database. You just need to get it and display to users in that case.

Upvotes: 2

Related Questions