Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery function return

function myFunction(p1, p2) {
  var a = "";
 $.post( "/url", function( data ) {a = data.result;});
  return a;
}
 
PREVIOUS NEXT
Tagged: #jquery #function #return
ADD COMMENT
Topic
Name
8+2 =