Link to home
Create AccountLog in
JavaScript

JavaScript

--

Questions

--

Followers

Top Experts

Avatar of sarh
sarh

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
Avatar of gator4lifegator4life

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of kurrikurri

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>

Avatar of sarhsarh

ASKER

tanks Toooo Mauch My Best Friend
take care

Very happy to help, and good luck to you.

gator4life
(chomp, chomp)

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

JavaScript

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.