Hi All,

am facing a problem to popup a php file in thickbox (the php file is a ajax called file), thought of discussing this problem with u guys for the solution.

Problem Explanation:

I have a "parentpage.php" file which has to display the list of users (from db) am using ajax in this file. Onload of this file am calling a javascript function as shown below
function showusers()
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
if (xmlhttp.readyState==4 && xmlhttp.status==200)



The above code is displaying the list of users(upto this no problem). In this list I have a link clicking on which a popup page should come in a thickbox "popuppage.php" this page contains some content. When am using the thickbox code as displayed below the "popuppage.php" is coming but without thick box.

<a href="popuppage.php?height=400&width=771" class="thickbox" title="test">Read more</a>.

Note: I have included all the related class files (javascript files) in "parentpage.php" But still the thick box is not appearing.

Has anyone faced similar kind of problem or what is the right way of displaying a thickbox pop in ajax called file.