Tag Archives: javascript

Javascript Browser back button handling

Javascript Browser back button handling In Javascript getting handle of browser back button event is complex. There are many plugIns available to satisfy this complex need. However, I cam across a solution which to some extent can resolve this issue. if (window.history && window.history.pushState) { if(location.hash.split("#")[1]!='search'){ window.history.pushState('forward', null, '#search'); } } This piece of code will first do a forward ... Read More »

Direct Web Remoting

DWR is Open Source, available under the Apache Software License v2. DWR is a Java library that enables Java on the server and JavaScript in a browser to interact and call each other as simply as possible. DWR will generate the JavaScript to allow web browsers to securely call into Java code almost as if it was running locally. It ... Read More »