Apply ajax in html file.