Problems in If cycle

Problems in If cycle

Hy everybody :D

Can someone explain me why this cycle is always true ?

I have to search something that is in partnumbertextbox on the webpage ...
  1. $('<input type="button" id="PartNumberButton">').appendTo('body');
    $("#PartNumberButton").click(function() {
    if ($('body').find($('*:contains("#PartNumberTextBox")').length)){
    alert("already have it");
    }
    else {
    alert('its new');
    }
    });