JavaScript
--
Questions
--
Followers
Top Experts
InnerHtml
How i can Use This Instraction ?
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
ASKER CERTIFIED SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
You can send text into <div> tag with that command...
like this for example
<html>
<head>
<script language="JavaScript">
<!--
function inputtext() {
var text= document.form1.a.value;
document.form1.a.value = '';
window.divText.innerText = abb;
}
-->
</head>
<body>
<form name="form1">
<input type="text" size="8" value="" name="a"><br>
<input type="button" name="b2" value="send" OnClick="inputtext()">
</form>
like this for example
<html>
<head>
<script language="JavaScript">
<!--
function inputtext() {
var text= document.form1.a.value;
document.form1.a.value = '';
window.divText.innerText = abb;
}
-->
</head>
<body>
<form name="form1">
<input type="text" size="8" value="" name="a"><br>
<input type="button" name="b2" value="send" OnClick="inputtext()">
</form>
tanks Toooo Mauch My Best Friend
take care
take care
Very happy to help, and good luck to you.
gator4life
(chomp, chomp)
gator4life
(chomp, chomp)






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
JavaScript
--
Questions
--
Followers
Top Experts
JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.