‘); } jQuery(‘#commentsContainer-1’).append(jQuery(‘#commentTemplate’).html().replace(‘{comment}’, textArea.val())); jQuery(‘#commentToggler-1>span’).text(eval(1 + parseInt(jQuery(‘#commentToggler-1>span’).html()))); textArea.val(”); }, function (object) { if (object.hasErrors) { jQuery(‘#commentWidgetError-‘ + widgetId).append(‘
‘ + object.errors[0].message + ‘
‘); } jQuery(‘#commentWidgetForm-commentWidgetForm_1’).removeClass(‘none’); if (jQuery(‘.commentsContainer .comment’).length > 0) { jQuery(‘body,html’).animate({scrollTop: jQuery(‘.commentsContainer .comment’).last().offset().top – 30}, 500); } if (jQuery(‘#commentsContainer-1’).children().length > 0) { jQuery(‘#commentsContainer-1’).append(”); } jQuery(‘#commentsContainer-1’).append(jQuery(‘#commentTemplate’).html().replace(‘{comment}’, textArea.val())); jQuery(‘#commentToggler-1>span’).text(eval(1 + parseInt(jQuery(‘#commentToggler-1>span’).html()))); // update comment count var numCommentsEl = $(‘.guide-post .permalinkGuideCommentWidgetTop .heading span.number’); var numComments = numCommentsEl.text(); var numCommentsVal = (+numComments + 1).toString(); numCommentsEl.text(numCommentsVal); $(‘#comment-btn .number’).text(numCommentsVal); textArea.val(”); }, function (object) { button.attr(‘disabled’, false); }); }; var decorate = function (button, textArea, widgetId) { textArea.focus(function () { jQuery.ajax({url: ‘/ajax/user/click/commentable?commentableId=1981&parentId=&contentTypeKey=GUIDE&pageUri=’ + window.location.pathname}); }); textArea.keyup(function (event) { autoGrowTextArea(this); }); button.click(function (event) { doComment(button, textArea, widgetId); }); }; decorate(jQuery(‘#commentWidgetButton-commentWidgetForm_1’), jQuery(‘#commentWidgetTextArea-commentWidgetForm_1’), ‘commentWidgetForm_1’); decorate(jQuery(‘#commentWidgetButton-commentWidgetForm_2’), jQuery(‘#commentWidgetTextArea-commentWidgetForm_2’), ‘commentWidgetForm_2’); if (window.location.hash.indexOf(‘#c-‘) > -1) { jQuery(‘html, body’).animate({scrollTop: jQuery(window.location.hash).offset().top – 240}, 0); } }, o: {} });
Conversation | 8 Comments
You must be logged in to comment
Carla | 05.16.16 @ 20:01
I would have loved to have had these tips when we bought a home. My Son will need them soon. Thanks!
trish | 05.16.16 @ 20:03
Wow what great tips I could have used 10 years ago. But I have a friend buying her first home with her new husband. Sharing this with them
Zanna | 05.16.16 @ 20:05
Paying down your credit cards is a key step! One thing I didn’t realize when we were looking for a mortgage is not to cancel credit cards right before you apply for a loan, even if you aren’t using them. Our loan officer said it’s better to have cards that aren’t used than to close the account. We had no idea!
Elaine | 05.16.16 @ 20:06
His would have come In handy years ago, but now I live I. A family owned home so all is good.
Brittany | 05.16.16 @ 20:06
These are great tips, we just started the process of looking into buying a home, so this is great.
Kyle | 05.16.16 @ 20:08
This is a lot of great information that I wish I would have known when I was buying my house. I am currently in the process of limiting my credit cards and paying em off, one by one.
Steffanie | 05.16.16 @ 20:08
These would have been great for us when we bought our house. I will pass them along to my daughter who is looking.
Erin | 05.16.16 @ 20:08
I had no idea so many people are getting turned down for mortgages. Thanks for sharing these helpful tips from the professionals. They will be useful if we are ever in the market again.
$commenter.renderDisplayableName() | 05.01.20 @ 09:20
{comment}