Removed method=GET and added ajax call to html.