I have a jquery template that is being loaded with values after the ajax call is done and not on the view load.
on page load my javascript calls and function from a script.js file. i need that script.js file to call another function from the view. How would i call the listload function from the script.js
var limit = 5, dir = ' Desc', sort = 'Created', index = 0, autoscroll = false;
function getDataUrl(index, action) {
return '/Team/Linking/ListItemLinks/@Model.ItemId/?type=@Model.ItemType';
}
function listload() {
alert('test');
}