just wondering why this isn’t working for me:
$(document).ready(function(){
$('.box').hide();
$("#name").blur(function() {
var value = $(this).val();
$("div:contains("+value+")").FadeIn(1000);
});
});
Pretty new at Javascript/JQuery, and trying to figure out where I went wrong……I’m trying to get the value of an input (which is the “#name” id) and match that up with the divs in the document (which are initially hidden) and when the string value of the input is contained within a div (in this case, “.box”) in the document, I want that div to display. Any help would be greatly appreciated.
Change
FadeInto fadeIn: