I have written jQuery Main.html, ajax.php. The ajax.php returns the link of images to Main.html
Now In Main.html, I have Image1, Image2, Image3, etc.
My Main.html
<html>
...
# ajax.php Call
...
# Return Fields From Ajax.php
</html>
My ajax.php
echo "<a href='src1'><img src='src_path1' id='fid1' alt='Name1' /></a>Click To View image1\n";
echo "<a href='src2'><img src='src_path2' id='fid2' alt='Name2' /></a>Click To View image2\n";
// etc.
So, After executing ajax.php I get the Image locations in Main.html
Now, when I click the Image1 link from Main.html, that corresponding image should display in same window.
So I thought whether again to use jQuery to view Image on same page. Any ideas how to achieve this?