Call an anchor tag via javascript
- by Fero
Hi all,
I am using thick box 3.1 to load a pop up. It working well by using in the following way:
<a href="filename.php" class="thickbox"> TEST </a>
If we click on the TEST now then the popup is working well and good.
Now my prob is: I need to call this popup in form load using JavaScript.
I do something like below:
<script type="text/javascript">
window.location.href = "filename.php"
</script>
it's just redirecting to that particular file. But not showing in the pop up.
What is the possible way?
thanks in advance