/***** this function is for fade my popup window ********/
function fadeInMyPopup() {
for( var i = 0 ; i <= 100 ; i++ )
setTimeout( ‘setOpacity(’ + (i / 10) + ‘)’ , 8 * i );
}
</script>
/*************** PART 3*******************/
Abc.php
Is Abc.php being included? Is a form submitssion taking the person to Abc.php? Is Abc.php accessed by clicking a link? Or is something else happening there.
/**************** PART 1***************************/
for ($tt=0;$tt<=10; $tt++)
{
<input type=‘submit’ onClick=‘MyPopup($tt)’ value=’ Details '>
}
[COLOR=“DarkRed”]
here on onclick elements is calling MyPopup function…
/***** this function is for fade my popup window ********/
function fadeInMyPopup() {
for( var i = 0 ; i <= 100 ; i++ )
setTimeout( ‘setOpacity(’ + (i / 10) + ‘)’ , 8 * i );
}
</script>
/*************** PART 3*******************/
Abc.php
Let’s get some more details about what you want then.
Well in that case, you can have the javascript replace the contents of the styled_popup div.
From within the function with the tt variable:
var text = document.createTextNode(tt),
div = document.getElementById('styled_popup');
while (div.hasChildNodes()) {
div.removeChild(div.firstChild);
}
div.appendChild(text);
<div id=‘styled_popup’ name=‘styled_popup’ style=‘width:600px; display:none; position: absolute; top: 150px; left: 50px; zoom: 1’> <? /* I want to display here different value on different time… depending on $tt value */?>
</div>
There are currently some other scripting problems on the results page too.
In Internet Explorer’s Internet Options page, go to the Advanced tab and turn on “Display a notification about every script error”
That will help you to find major problems, so that you can then fix them.
With many other web browsers, you can use Ctrl-Shift-J to show errors.