Reputation: 3021
Currently i have one variable (cat) how can i send another one as "CS"?
$gallery.load('/public/themes/lbd/js/imagegallery.php', {'cat': cat}, function(){
$(this).fadeIn(function(){
$('a.customGal').zoomimage();
});
});
Upvotes: 1
Views: 120
Reputation: 267077
$gallery.load('/public/themes/lbd/js/imagegallery.php', {'cat': cat, cs:'cs', anotherVar : 'xyz'}, function(){
$(this).fadeIn(function(){
$('a.customGal').zoomimage();
});
});
Upvotes: 1
Reputation: 29267
$gallery.load('/public/themes/lbd/js/imagegallery.php', {'cat': cat, 'CS': cs}, function(){
It's just a regular JavaScript object.
Upvotes: 2