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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.