please help: konqueror button problem

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top