Last active
October 16, 2019 07:50
-
-
Save pavanBS/40948860c15640737afa679e34cba058 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var response_result = document.getElementsByClassName("sj-search-bar-input-common")[1].value; | |
$('#nav-search-sajari .sj-search-bar-input-common').val(response_result); | |
history.pushState({ | |
id: 'search_result_page' | |
}, 'Search Results', '/search-results?as_q=' + response_result); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment