Jump to content

Function isnt working in FF = [


Recommended Posts

Just wondered why this function wasnt working in Firefox

 

<script type="text/javascript">

function Reload () {

var basketrefreshingjs = document.getElementById('basket');

basketrefreshingjs.contentWindow.location.reload(true);

}

</script>

 

Its called with this button it works in IE ( part of a PHP script I've written )

 

<a target="basketshowframe" class="maintxt" onmousedown="Reload();" onmouseup="javascript:basketshow.slideit();" href="../../basket/add/?action=add&ID=' . $row['ID'] . '">Add to Basket</a>

 

I'm not a JS programmer so any help would be greatly appreciated. :)

Link to comment
https://forums.phpfreaks.com/topic/110127-function-isnt-working-in-ff/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.