# Function doesnt work with Mozilla Firefox

**URL:** <https://forum.kirupa.com/t/function-doesnt-work-with-mozilla-firefox/191883>\
**Category:** Uncategorized\
**Created:** [June 23, 2006, 5:15pm UTC](https://forum.kirupa.com/t/function-doesnt-work-with-mozilla-firefox/191883 "2006-06-23T17:15:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![5leander5](https://avatars.discourse-cdn.com/v4/letter/5/c2a13f/32.png) [@5leander5](https://forum.kirupa.com/u/5leander5)\
**Post date:** [June 23, 2006, 5:15pm UTC](https://forum.kirupa.com/t/function-doesnt-work-with-mozilla-firefox/191883/1 "2006-06-23T17:15:58Z")

</div>

I am using the following call in my flash application

getURL(“javascript:setFlashHeight(‘SafetyForum’, ‘645’);”);

to call the following script function:

[SIZE=1][COLOR=#0000c0]\<script language[/COLOR][/SIZE][SIZE=1]=“JavaScript”[/SIZE][SIZE=1][COLOR=#0000c0]\>  
[/COLOR][/SIZE][SIZE=1][COLOR=#800000]function setFlashHeight(divid, newH){  
document.getElementById(‘SafetyForum’).style.height = newH+“px”; }  
[/COLOR][/SIZE]\</script\>

While this works fine in IE, it does’ne appear to do anything in Mozilla Firefox. Can someone please tell me why?

Thanks,

Albert
