Refresh page on form button click

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch
Impact
10
Hey, I want to add onClick="history.go(0)" to
Code:
document.forms['TSRform'].elements['submit'].value = 'Stop';

I've tried
Code:
document.forms['TSRform'].elements['submit'].value = 'Stop'.onclick='history.go(0)';
but it doesn't work.


any ideas?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
I think what you are trying to do is..

document.forms['TSRform'].elements['submit'].onclick = function() {
history.go(0);
return false;
}
 
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back