php do not refresh page after submit post
//Using Javascript
<script>
if ( window.history.replaceState ) {
window.history.replaceState( null, null, window.location.href );
}
</script>
4.25
4
// add this code to javascript
<script>
if ( window.history.replaceState ) {
window.history.replaceState( null, null, window.location.href );
}
</script>
Thank you!
4
0
Are there any code examples left?
New code examples in category PHP