answersLogoWhite

0


Best Answer

document.formname.textfieldname.value = variable_or_literal

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the general form for the JavaScript statement used to assign a value to a text box object within a form?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does java script do?

Javascript is a programming language that is object orientated. that means that it is much better to use if you want to assign given attributes to an object. Javascript is the best for doing object orientated things.


How do you assign a javascript variable to an object attribute?

You can assign a JavaScript variable to the attribute of an object using the assignment operator (=) Here's a quick example. var imageUrl = "image.png"; var img = new Image(); img.src = imageUrl; The above code would set the source attribute of the object named img as the contents of the variable imageUrl.


How do you shortcut systemoutprintln in javascript?

There is no systemout object in JavaScript. Do you mean Java?


Why use java script?

Javascript is an object orientated programming language and is very nice when assigning attributes to many different objects. the reason its so nice is that all the attributes are not changed. it just changes the attributes that you assign per object.


What are properties in Javascript?

Like other object-oriented languages (JavaScript is technically not 'object-oriented'), JavaScript has objects, those objects have attributes or 'properties' which hold data


What JavaScript terms are used to describe the actions performed of an object?

JavaScript is an object-oriented language, and like most OO languages, the actions that are performed on an object are referred to as methods. In JavaScript, methods are also sometimes called functions.


What does JSON stand for?

JavaScript Object Notation.


What is the Javascript onclick?

Onclick will be called when the object you're attaching the onclick function to is clicked (usually the object is an HTML element).


What are the applications of object oriented language?

JavaScript Vb


Which websites have information about the JavaScript date object?

There are a lot of websites which have information about the JavaScript date object. However, it is strongly suggested that one should check out from the website W3Schools.


What is returned from a custom object constructor in javascript?

A JavaScript constructor will return an instance of the object. So var ourImg = new Image(); Gets us a new Image object. The same goes for a custom element.


Which JavaScript event is triggered when the user activates an object?

onFocus