answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What are the Buttons and text boxes in JavaScript are used for?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

JavaScript/JS?

JavaScript is commonly used to make web pages dynamic. As a client scripting language, it provides websites with interactivity like prompts and alerts and it can add animations to images and text.


What is the general form for the JavaScript statement used to assign a value to a text box object within a form?

document.formname.textfieldname.value = variable_or_literal


What are different dialog boxes in JavaScript?

There are three Types of Dialog Boxes in JavaScript1. alert() : The simplest to direct output to a dialog box is to use the alert() method. The alert dialog box is used to display an alert message to the user.2. prompt() : The prompt() method dialog box allows the user the opportunity to enter information. It takes two parameters; a message and a default string for the text entry field.3. confirm() : The confirm dialog box returns a Boolean value based on the user's selection.


Which tag is used to implement javascript in an HTML file?

The SCRIPT tag is used to implement a JavaScript (or other kind, i.e. VBScript) in an HTML document. The tag can either contain the actual JavaScript code, or can point to an external script file that should be included at render-time. To add JavaScript directly to the document in HTML 5, place these tags in either the HEAD section or just prior to the BODY sections closing tag. <script type="text/javascript"> //JS code goes here </script> To call an external JavaScript file, use the "src" attribute, like so: <script type="text/javascript" src="path/to/script.js"></script> If you're unsure of where to put the JavaScript tags, see the related answer(s).


What is more complicated CSS or javascript?

Javascript is much harder. HTML doesn't have logic in it, it's more just a way to organize data. Javascript is a language with logic and many different levels of understanding. In web programming you use html to layout the page, make boxes, add images, etc. Javascript and CSS is then used when your page needs to get smarter and look better.It depends on what your are trying to do. Generally, JavaScript is more difficult than HTML.

Related questions

In what two ways dose sdm differ from the ios cli?

SDM utilizes GUI buttons and text boxes. The IOS CLI requires the use of text-based commands. SDM is used for in-band management only. The IOS CLI can be used for in-band and out-of-band management


Can you hide and reveal text e.g YouTube comments without the use of javascript I wanted to try it on Myspace but it disables javascript.?

Very unlikely. See, Javascript is used to change the className attribute of the text node. When the className has changed, the node uses the properties that are set with CSS. This means you can keep a text invisible with CSS only, but you'll always need Javascript to switch classes.


Which HTML tag is used to indicate to the web browser that the HTML page contains a javascript program?

Easy one. <script type="text/javascript"></script>.


The difference between labels and text boxes?

Labels are used as headings for things that are created when the system is. Text boxes start as empty boxes that people can type into when a program is running. If you have ever filled out a form on the internet, you type your information into text boxes and beside the text boxes are labels telling you what to type into them, like your name or address. You cannot type into the labels themselves, just into the text boxes. You'll have done all of this when you were entering in this question.


What is java GUI?

GUI means Graphical User Interface; it refers to any visible elements that are commonly used to show content to the user: the windows, buttons, text-boxes (areas to write text), etc. Ex: Java AWT, Java Swings, JSP etc


JavaScript/JS?

JavaScript is commonly used to make web pages dynamic. As a client scripting language, it provides websites with interactivity like prompts and alerts and it can add animations to images and text.


What is the general form for the JavaScript statement used to assign a value to a text box object within a form?

document.formname.textfieldname.value = variable_or_literal


What are different dialog boxes in JavaScript?

There are three Types of Dialog Boxes in JavaScript1. alert() : The simplest to direct output to a dialog box is to use the alert() method. The alert dialog box is used to display an alert message to the user.2. prompt() : The prompt() method dialog box allows the user the opportunity to enter information. It takes two parameters; a message and a default string for the text entry field.3. confirm() : The confirm dialog box returns a Boolean value based on the user's selection.


Which tag is used to implement javascript in an HTML file?

The SCRIPT tag is used to implement a JavaScript (or other kind, i.e. VBScript) in an HTML document. The tag can either contain the actual JavaScript code, or can point to an external script file that should be included at render-time. To add JavaScript directly to the document in HTML 5, place these tags in either the HEAD section or just prior to the BODY sections closing tag. <script type="text/javascript"> //JS code goes here </script> To call an external JavaScript file, use the "src" attribute, like so: <script type="text/javascript" src="path/to/script.js"></script> If you're unsure of where to put the JavaScript tags, see the related answer(s).


What is more complicated CSS or javascript?

Javascript is much harder. HTML doesn't have logic in it, it's more just a way to organize data. Javascript is a language with logic and many different levels of understanding. In web programming you use html to layout the page, make boxes, add images, etc. Javascript and CSS is then used when your page needs to get smarter and look better.It depends on what your are trying to do. Generally, JavaScript is more difficult than HTML.


What unit is used for timing Javascript events?

Milliseconds are used for timing JavaScript events.


How do you do JavaScript?

Java script or javascript. a javascript is just object orientated language that you can embed into HTML to make an object preform tasks that are much much harder for any other language to do. On the other hand a complete Java script is much harder because pure Java is a language that is used to develope games and takes a lot more time to do than javascript, but it can do so much more than Javascript.