$('.w_def_text ~ span').live('click', function() {
$(this).hide();
$(this).prev().prev().css({
'display': 'block'
}).focus();
});
Je hebt .prev (). Vorige()
nodig, want dat is de invoer. En in de tweede functie
$('.w_def_text').live('blur', function() {
if($(this).val() == '') {
$(this).hide();
$(this).next().next().show();
}
});
je hebt .next (). next()
of iets dergelijks nodig, afhankelijk van wat je wilt. Je zou moeten begrijpen wat er nu aan de hand is. :)