Anyone know why it's not fading in the content? It's fully functional,
but it just doesn't "fadeIn"..
function addPerson() {
//current keeps track of how many people we have.
var strToAdd = '<div id="input" class="ideaInput"><input
name="idea[]" class="idea" type="text"/>'
strToAdd += '<textarea name="description[]" class="description"></
textarea></div>'
$('#all-inputs').append(strToAdd);
};
$(document).ready(function() {
$('#btnAdd').click(function () {
$(addPerson).fadeIn('slow')
});
});
I apologize if this isn't the correct place to post this type of
issue. It seems like this would be a great resource.