I have some code that doesn't work with the display form but works with edit and new. The form has spaces to enter information but if no information is entered, the form should show the spaces. Here is my code and form below. Can someone tell me why it's not working?
if($(this).children('td').first().find("input").val() == "")