Subscribe for in-depth updates on Washington D.C.'s commercial real estate scene.
Thanks for signing up
There was an issue with your submission.
// Listens for a response from the front end
window.addEventListener("message", function (e) {
// We verify that the error message is coming from Piano, so it must be what we're looking for.
if (typeof e.data.piano != 'undefined') {
var result = e.data.piano;
if (!result.success) {
// Failure
$('.status-message').hide();
$('#submission-status').show()
$('.status-message.status--error').show().text(result.message);
} else {
// Success
// $('#submission-form').hide();
// $('#submission-header').hide();
// $('#submission-text').hide();
$('.pn-newsletter__wrapper').hide();
$('.status-message').hide();
$('#submission-status').show();
$('.status-message.status--success').show();
}
}
return;
}, false);