我正在尝试将搜索关键字存储到我的数据库中。在我的搜索词中,我正在使用 YouTube API 并搜索 YouTube 视频。
<input spellcheck="false" value="" id="searchBox" class="statusPlaying"><span id="searchTermKeyword">amisha patel</span>
为了在数据库中存储搜索词,我已经这样做了,但它不起作用。谁能告诉我如何在不刷新页面的情况下存储搜索词?
<form enctype="multipart/form-data" id="form1" name="form1" method="post" action="">
<input type="text" name="title" class="statusPlaying" id="searchBox" value="" spellcheck="false">
<span id="searchTermKeyword"></span>
</form>
这是我的实时链接|