
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
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
Found 10483 Articles for Web Development

79 Views
The HTML DOM InputEvent data property returns the string corresponding to character that was typed using an event.SyntaxFollowing is the syntax −Returning latest typed character in text field −event.dataExampleLet us see an example for InputEvent data property − Live Demo InputEvent Data form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { border-radius: 10px; } InputEvent-Data Fill in the blanks: ... Read More

142 Views
The HTML DOM Input Week value property returns a string if value attribute is defined of input week. User can also set it to a new string.SyntaxFollowing is the syntax −Returning string valueinputWeekObject.valueSetting value attribute to a string valueinputWeekObject.value = ‘String’ExampleLet us see an example for Input Week value property − Live Demo Input Week value form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { border-radius: 10px; ... Read More

142 Views
The HTML DOM Input Week type property returns/sets type of Input Week.SyntaxFollowing is the syntax −Returning string valueinputWeekObject.typeSetting type to string valueinputWeekObject.type = stringValueString ValuesHere, “stringValue” can be the following −stringValueDetailsweekIt defines that input type is weekdatetime-localIt defines that input type is datetime-localcheckboxIt defines that input type is checkboxtextIt defines that input type is textExampleLet us see an example for Input Week type property − Live Demo Input Week type form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; ... Read More

76 Views
The HTML DOM Input Week stepUp() method defines the amount of weeks the week field should increase.SyntaxFollowing is the syntax −Calling stepUp() method with a number, which by default is equal to 1inputWeekObject.stepUp(number)ExampleLet us see an example for Input Week stepUp() method − Live Demo Input Week stepUp() form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { border-radius: 10px; } Week-stepUp( ... Read More

105 Views
The HTML DOM Input Week stepDown() method defines the amount of weeks the week field should decrease.SyntaxFollowing is the syntax −Calling stepDown() method with a number, which by default is equal to 1inputWeekObject.stepDown(number)ExampleLet us see an example for Input Week stepDown() method − Live Demo Input Week stepDown() form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { border-radius: 10px; } Week-stepDown( ... Read More

136 Views
The HTML DOM Input Week step property determines the legal intervals for only weeks.SyntaxFollowing is the syntax −Returning number valueinputWeekObject.stepSetting step attribute to a number valueinputWeekObject.step = numberParametersParameter number values −weeksall values are legal values as long as it is a positive integerExampleLet us see an example for Input Week step property − Live Demo Input Week step form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { border-radius: ... Read More

119 Views
The HTML DOM Input Week required property determines whether Input Week is compulsory to set or not.SyntaxFollowing is the syntax −Returning boolean value - true/falseinputWeekObject.requiredSetting required to booleanValueinputWeekObject.required = booleanValueBoolean ValuesHere, “booleanValue” can be the following −booleanValueDetailstrueIt is compulsory to set the week field to submit form.falseIt is the default value and to set week field is not compulsory.ExampleLet us see an example for Input Week required property − Live Demo Input Week required form { width:70%; margin: 0 auto; text-align: center; } * { ... Read More

113 Views
The HTML DOM Input Week readOnly property sets/returns whether Input Week can be modified or not.SyntaxFollowing is the syntax −Returning boolean value - true/falseinputWeekObject.readOnlySetting readOnly to booleanValueinputWeekObject.readOnly = booleanValueBoolean ValuesHere, “booleanValue” can be the following −booleanValueDetailstrueIt defines that the input week field is readOnly.falseIt defines that the input week field is not readOnly and can be modified.ExampleLet us see an example for Input Week readOnly property − Live Demo Input Week readOnly form { width:70%; margin: 0 auto; text-align: center; } * { padding: ... Read More

1K+ Views
In this article we are going to learn how to find the name and the target of a form in JavaScript. In HTML, there is element which has few attributes: input, label, text area, select, name, target. The name and target attributes of form are used to find those elements in JavaScript. The name attribute is used to return the name of the form. The target attribute is used to check whether the result will open in the same window or new window or new frame, when the form is submitted. The possible values for target are blank, _self, ... Read More

657 Views
In this article we are going to learn how to get the cookies associated with a document in JavaScript. The cookies property present in the Document interface is used to return the cookies associated with a Document in JavaScript. The Cookies are small strings of data that is present in the form of name=value pairs inside a browser. Each cookie is delimited by a ‘;’. Cookies are used for client-server applications. Cookies have an expiration date. They have a size limit of 4KB. To get a better understanding of this concept, let’s look into the examples further in this article. ... Read More