The location.reload() function doesn’t accept any parameters (it may have in the past in some browsers but is no longer officially supported). You can call for a reload from an HTML elements onclick attribute directly: Reload More Information Reloading from onclick Attribute or Event To simply reload the page, you can input window.location as object. The syntax is the following: object.reload(forcedReload), where forceReload is an optional parameter. How can I reload a Javascript file on a webpage 0. JavaScript Location.reload() method provides means to reload the page at current URL. See more about scopes in JavaScript here. Reload updated java
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |