javascript - window.prompt alternative