yes, at the top of your page you would do:
$action = $_GET['action'];
Then inside of a script tag you would do this:
<script type="text/javascript">
var action = "<?=$action;?>";
//if you want to remove it you will do
$("#LoginContainer").remove();
//if you want to just hide it so you can maybe show it again later
$("#LoginContainer").hide();
</script>
hopefully that will help. if you have any questions just let me know
Painstik-2 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...
>
>
--
View this message in context:
http://www.nabble.com/Remove-content-of-div-if-on--login.php-action%3Dlogout-page-tp25828313s27240p25828811.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.