It can be done, but why not just do it server-side if you can? It's more reliable.
To do it in Javascript, you'd have to get the query string data from the URL and act on it. There are no native Javascript functions for directly fetching a part of the query string, so you'd have to make one (thus, slower). Here's one you can use: http://kouloumbris.com/archives/usefull-javascript-functions On Oct 9, 11:42 am, Painstik <pains...@gmail.com> wrote: > Can it be done? > > If user comes to this page: mypage.com/login.php?action=logout > To remove this div conent: <div id="LoginContainer" style=""> > > Please help...