×
Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Net Meeting
Tutorix
Login
Packages
Categories
Java
JSP
iOS
HTML
Android
Python
C Programming
C++ Programming
C#
PHP
CSS
Javascript
jQuery
SAP
SAP HANA
Data Structure
RDBMS
MySQL
Mathematics
8085 Microprocessor
Operating System
Digital Electronics
Analysis of Algorithms
Mobile Development
Front End
Web Development
Selenium
MongoDB
Computer Network
General Topics
Library
Videos
Q/A
eBooks
Login
Library
Videos
eBooks
Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Selected Reading
UPSC IAS Exams Notes
Developer's Best Practices
Questions and Answers
Effective Resume Writing
HR Interview Questions
Computer Glossary
Who is Who
Rama Giri
has Published
122
Answers
How to find all pairs of elements in Java array whose sum is equal to a given number?
Java 8
Object Oriented Programming
Programming
Rama Giri
Published on 02-Aug-2019 17:33:39
To find all pairs of elements in Java array whose sum is equal to a given number −Add each element in the array to all the remaining elements (except itself).Verify if the sum is equal to the required number.If true, print their indices.Exampleimport java.util.Arrays; import java.util.Scanner; public class sample { ...
Read More
HTML DOM Input Date name Property
HTML
Web Development
Front End Technology
Rama Giri
Published on 19-Jul-2019 14:29:18
The HTML DOM Input Date name property returns a string, which is the name attribute of input date. User can also set it to a new string.SyntaxFollowing is the syntax −Returning string valueinputDateObject.nameSetting name attribute to a string valueinputDateObject.name = ‘String’ExampleLet us see an example of Input Date name property − Live ...
Read More
HTML DOM Input Date disabled Property
HTML
Web Development
Front End Technology
Rama Giri
Published on 19-Jul-2019 14:20:24
The HTML DOM Input Date disabled property sets/returns whether Input Date is enabled or disabled.SyntaxFollowing is the syntax −Returning boolean value - true/falseinputDateObject.disabledSetting disabled to booleanValueinputDateObject.disabled = booleanValueBoolean ValueHere, “booleanValue” can be the following −booleanValueDetailstrueIt defines that the input date is disabled.falseIt defines that the input date is not disabled and ...
Read More
HTML DOM Input Color value Property
HTML
Web Development
Front End Technology
Rama Giri
Published on 19-Jul-2019 12:40:19
The HTML DOM Input Color value property returns a string, which represents the value of the input color value attribute. User can also set it to a new string.SyntaxFollowing is the syntax −Returning string valueinputColorObject.valueSetting value attribute to a string valueinputColorObject.value = ‘String’ExampleLet us see an example of Input Color value ...
Read More
HTML DOM Input Color Object
HTML
Web Development
Front End Technology
Rama Giri
Published on 19-Jul-2019 12:30:26
The HTML DOM Input Color Object represents an input HTML element with type color.SyntaxFollowing is the syntax −Creating an <input> with type color −var colorObject = document.createElement(“input”); colorObject.type = “color”;AttributesHere, “colorObject” can have the following attributes −AttributesDescriptionautocompleteIt defines the value of autocomplete attribute of a color pickerautofocusIt defines if the ...
Read More
HTML DOM Input Color form Property
HTML
Web Development
Front End Technology
Rama Giri
Published on 19-Jul-2019 12:18:06
The Input Color form property returns the reference of enclosing form for input color.SyntaxFollowing is the syntax −Returning reference to the form objectinputColorObject.formExampleLet us see an example of Input Color form property − Live Demo<!DOCTYPE html> <html> <head> <title>Input Color Form</title> </head> <body> <form id="formForColorsInput"> Color Picker: <input type="color" id="Color" > </form> <button onclick="getFormID()">Get Form ID</button> <div id="divDisplay"></div> <script> ...
Read More
HTML DOM Input Color defaultValue Property
HTML
Web Development
Front End Technology
Rama Giri
Published on 19-Jul-2019 12:09:15
The HTML DOM Input Color defaultValue property sets/returns the default value corresponding to a color. It may or may not be same as value attribute.SyntaxFollowing is the syntax −Returning string valueinputColorObject.defaultValueSetting defaultValue to stringinputColorObject.defaultValue = ‘string’Boolean ValueHere, “string” can be the following −booleanValueDetails#000000 - #ffffffIt defines that input color can have ...
Read More
HTML DOM Input Checkbox value Property
HTML
Web Development
Front End Technology
Rama Giri
Published on 19-Jul-2019 11:58:30
The Input Checkbox value property returns a string with the value attribute of input checkbox. User can also set it to a new string.SyntaxFollowing is the syntax −Returning string valueinputCheckboxObject.valueSetting value attribute to a string valueinputCheckboxObject.value = ‘String’ExampleLet us see an example of Input Checkbox value property − Live Demo<!DOCTYPE html> <html> ...
Read More
HTML DOM Input Checkbox required Property
HTML
Web Development
Front End Technology
Rama Giri
Published on 19-Jul-2019 11:47:28
The Input Checkbox required property determines whether Input Checkbox is compulsory to check or not.SyntaxFollowing is the syntax −Returning boolean value - true/falseinputCheckboxObject.requiredSetting required to booleanValueinputCheckboxObject.required = booleanValueBoolean ValuesHere, “booleanValue” can be the following −booleanValueDetailstrueIt defines that it is compulsory to check the checkbox to submit form.falseIt is the default ...
Read More
HTML DOM Input Checkbox name Property
HTML
Web Development
Front End Technology
Rama Giri
Published on 19-Jul-2019 11:36:18
The HTML DOM Input Checkbox name property returns a string, which is the value of the name attribute of input checkbox. User can also set it to a new string.SyntaxFollowing is the syntax −Returning string valueinputCheckboxObject.nameSetting name attribute to a string valueinputCheckboxObject.name = ‘String’ExampleLet us see an example of Input Checkbox ...
Read More
1
2
3
4
5
6
7
...
13
Next
Advertisements
Print
Add Notes
Bookmark this page
Report Error
Suggestions
Save
Close
Dashboard
Logout