Passing a value from one function to another in jquery...
- by Pandiya Chendur
Consider these jquery statements...
$(document).ready(function() {
getRecordspage(0, itemsPerPage);
$(".pager").pagination(maxNumberOfElementsHere, {
//my def
});
});
I get the value for maxNumberOfElementsHere from getRecordspage function... How to pass that value from getRecordspage function to the next one $(".pager").pagination(maxNumberOfElementsHere.... Any suggestion...