Come for the solution, stay for … The basic syntax of this method can be given with: $ ( selector ).load ( URL, data, complete ); The parameters of the load () method has the following meaning: The W3Schools online code editor allows you to edit code and view the result in your browser Solutions with HTML and CSS. onclick Event - W3Schools Perhaps something simple like a “Show” button that swaps to “Hide”, or “Expand Description” to “Collapse Description.” This is a fairly simple thing to do, but there are various considerations to make. Skip to main content ; Skip to search; Skip to select language; Open main menu. The page you are viewing does not exist in version 19.2. onclick="location.href= Related Example Code to "onclick location href html" Active 7 years, 5 months ago. I've tried a number of different things, and the best that I get is the div will flash for a second and disappear. Given an HTML document containing a