Once this page is loaded kindly delete the text in the input box containing "foo", and change the text in the box containing "lah" to "foo". Then press the button below.
$("#inputs input[value='foo']"); produces
$("#inputs input[value='foo']");
$("#inputs").find("input[value='foo']"); produces
$("#inputs").find("input[value='foo']");