Hi
How can i access the Instance of Boxy within its contents. I have a Link that loads a form in Boxy. Its displaying the boxy popup and its working fine. Now i want to access the instance of the boxy from form submit function. How can i do this. I have the code below.
$('a.boxy').boxy({
modal:true,
show:true,
title:' ',
closeable:true,
center:true,
});//boxy
link is loading the form
<form name="subscribe" >
name <input type="text" name="name" value="' /> <br />
email <input type="text" name="email" value="' /><br />
<input type="submit" name="submit" value="subscribe" onclick="submitform()" />
</form>
<script>
function submitform()
{
// here i want to access the boxy instance
// also here i want to refer it and close it
}
</script>
Kind suggest
EDIT : I wanted to get the Instance of Boxy that loaded my form. I DONT want to access the link.