Jump to content

Hide div


GinsBabu

Recommended Posts

Hi..

 

Thanks for the reply ....

well i was working on that but had some problem.....

my code 

have a div tag like this..

<div id="d" style="display:inline">

<?php echo $this->message;?>

</div>

 

and the js

function sendStatusReport(){

document.listclientchoosen.action = "<?php echo $this->baseUrl;?>/admin/clientexports/report";

document.listclientchoosen.submit();

setTimeout("toggle()", 8000 );

}

 

function toggle() {

var ele = document.getElementById("d");

ele.style.display = "none";

}

Wat am i doing wrong....??also the action performing inside the sendstatusreport() is mail sending.So it may took 8s or 10 s or 15 s.How can excatly point out the time.

Link to comment
https://forums.phpfreaks.com/topic/187211-hide-div/#findComment-988712
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.