C
ccosse
Hi, the script below produces two buttons in Firefox/IE/etc, but
in Konqueror the javascript gives a text area. Can anyone advise
me how to make the button in javascript that Konqueror will like?
Thanks!
CC
-----------------------------------------------------------------
<html>
<head>
<title>Konqueror Button Test</title>
<script language="JavaScript">
function init(){
add_button=document.createElement("input");
add_button.id="add_button";
add_button.type="button";
add_button.value="PushMe";
document.body.appendChild(add_button);
}
</script>
</head>
<body onload="init();">
<input type="button" value="newB">
</body>
</html>
in Konqueror the javascript gives a text area. Can anyone advise
me how to make the button in javascript that Konqueror will like?
Thanks!
CC
-----------------------------------------------------------------
<html>
<head>
<title>Konqueror Button Test</title>
<script language="JavaScript">
function init(){
add_button=document.createElement("input");
add_button.id="add_button";
add_button.type="button";
add_button.value="PushMe";
document.body.appendChild(add_button);
}
</script>
</head>
<body onload="init();">
<input type="button" value="newB">
</body>
</html>