sonja_mueller
New member
Hallo,
I want to alter the size of an input-field dependig on the browser, but I don't know how?
example:
var anz = 62;
if (navigator.appName == "Microsoft Internet Explorer")
{ anz = 85; }
document.write("<p><input type=text name=fkt size=62 >");
document.write("</p>");
instead of this: size = 62 I want to write size = anz
this is a part of a great table and I don't want to write one site for each browser
Is there any possibility?
thank you for helping me
Sonja Müller
I want to alter the size of an input-field dependig on the browser, but I don't know how?
example:
var anz = 62;
if (navigator.appName == "Microsoft Internet Explorer")
{ anz = 85; }
document.write("<p><input type=text name=fkt size=62 >");
document.write("</p>");
instead of this: size = 62 I want to write size = anz
this is a part of a great table and I don't want to write one site for each browser
Is there any possibility?
thank you for helping me
Sonja Müller