Answer the question
In order to leave comments, you need to log in
How to pass multiple parameters through load?
How to pass multiple parameters via load ?
tried like this:
function test(){
$("#status").load("save.php","valid="+$(".off").val(),"ids="+$("#button").val());
};
Answer the question
In order to leave comments, you need to log in
and I figured out who should need it:
$("#status").load("save.php","valid="+$(".off").val()+"&ids="+$(". buttons").val());
api.jquery.com/load
$( "#feeds" ).load( "feeds.php", { limit: 25, 'test': 1, 'test': 2 }, function() {
alert( "The last 25 entries in the feed have been loaded" );
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question