How to Create a Reload Button which will Reload the Webpage upon Clicking using JavaScript
The following code will add a reload button to your webpage. This button will reload your webpage when clicked.
Place the following code in the body section of your webpage where you want to display the button
<form>
<INPUT TYPE="button" VALUE="Reload" onClick='parent.location="javascript:location.reload()"'>
</form>
Related Articles
- Validate a Check Box Using JavaScript
- Automatic Redirect using Javascript
- Multi Level Drop Down Category & Subcategory Hierarcheal Selection using JavaScript
- Flash and JavaScript Conflict: Javascript Menu goes behind the flash file
- Display Current Date Automatically on your Website using JavaScript
- Automatically Redirect from one Webpage to Another Webpage using JavaScript
- How to Display a Webpage in the PopUp Window after Clicking from a Link using JavaScript
- Disable Right Clicking on Webpage, Images and Photos with JavaScript
