<html>
<head>
<script type="text/javascript" src="jquery-1.7.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("button").click(function(){
alert('hi'+$("input:text").val());
$("input:not(:empty)").val("sdfdf");
});
});
</script>
</head>
<body>
<input type="text" value="aa" />
<input type="text" value="" />
<input type="text" value="aa" />
<button>Click me</button>
</body>
</html>
estoy tratando de acceder textboxex vacío usando jQuery y la asignación de un valor hola a ella .. pero no está funcionando.
gracias de antemano
leer http://stackoverflow.com/questions/1299424/selecting -empty-text-input-using-jquery – Dau