How to execute jQuery code if a div display style changes from none to block?
<p>I'm trying to execute jQuery code when a div's style changes from <code>display: none;</code> to <code>display: block;</code> </p>

<p>I'm using tabs that's why this div's style changes like this, and this jQuery code should only be running when viewing this tab only.</p>

<p>so how can I achieve this ?</p>

<p>and thanks.</p>

<p>EDIT: I tried <code>.is(':visible');</code> and it only works if we load the page and this div is visible, not if this div will be visible later.</p>
