Soy jQuery nuevo, jugando con él. Me gustaría un cuadro de texto cuando hago clic en el botón, pero no funciona de esa manera.jQuery simple - ocultar cuadro de texto
<input type=text id=txt></input>
<input type=button id=btn value="Click Me"></input>
$document.ready(function() {
$("input#btn").click(function() {
$("input#txt").hide();
});
});
Una cosa útil es la consola de error. Si usa Firefox, presione CTRL + MAYÚS + J. Esto ayuda mucho, yo tampoco habría visto tu error. – lumbric