I have a page located in an iframe of another page. It calls a js function like this:
function F(a)
{
parent.document.getElementById('A').value = a;
parent.document.getElementById('B').click();
}
It results in page reloading. How can I prevent it? Previously I've used return false; and it worked. But not in this case.