<input type="button" id="searchByDirector" onclick="searchFunction()" value = "Search Pippo's movies"/>
function searchFunction() { var input = document.getElementById ('searchByDirector'); var listOfMovies = Model // I put Model here because Movie is my model var selectedMovies; foreach (Movie m in listOfMovies) { if (m.Director = "Pippo") selctedMovies.Add(m); } // I have to show the selectdMovies here }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)