i have a simple url -
<a href="javascript:displayWindow('Slice 2100 (Commercial)');">SLICE 2100 (Commercial)</a>
that passes the the variable in a javascript function -
<script language="javascript">
function displayWindow(url)
{
var w, h, l, t;
var nc;
w = 600;
h = 409;
l = screen.width/4;
t = screen.height/4;
nc = url;
document.forms['SellSheet'].elements['sellitsheet'].value = nc;
// no title
// displayFloatingDiv('windowcontent', '', w, h, l, t);
// with title
displayFloatingDiv('windowcontent', 'Floating and Dimming Div', w, h, l, t);
}
</script>
the function then prints our the variable in a text field but it doesn't show in firefox -
my text field
<input type="text" style="width: 292px" class="myTextBox" id="sellitsheet" />
any ideas?
thanks