Hello all, I have a really simple question but, and once I figure out this little hurdle I know I will be able to work on a lot more stuff.
I would like to add a simple notification to fade in when some one presses a button but I would like to attach the notification after a label. I know I have to be really close with this code I just can't figure it out. $(function(){ $('#button').click(function(){ $("#fieldValue label").fadeIn('slow', function (){ $(this).after("<span class='field-error'>You need to enter a " +fieldName+" here.</span>"); }); }); }); Thanks for your help!