wrong function called

wrong function called

i have this

<form>
  <input type="text" id="search-project" autocomplete="off"/>
</form>

    $('input#search-project').searchProjects("/admin/project/tasks/id/", "project");
    $('input#search-project-tasks').searchProjects("/online/workitem/start/task/", "project-tasks");
    $('input#search-client').searchProjects("/admin/client/show/id/", "client");


but when i active search-project input-box, this function will be called
$('input#search-client').searchProjects("/admin/client/show/id/", "client")
instead of
$('input#search-project').searchProjects("/admin/project/tasks/id/", "project");

why ?

thanks