When this is done in AJAX/JS this will be 110% less convoluded.