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
 
Front End Technology Articles - Page 549 of 860
 
			
			142 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
 
			
			132 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
 
			
			120 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
 
			
			663 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
 
			
			132 Views
The HTML DOM Input Week Object represents an input HTML element with type week.SyntaxFollowing is the syntax −Creating an with type Weekvar weekObject = document.createElement(“INPUT”); weekObject.type = “week”;AttributesHere, “weekObject” can have the following attributes −AttributesDescriptionautocompleteIt defines the value of autocomplete attribute of a week fieldautofocusIt defines if the week field should be focused on initial page load.defaultValueIt sets/returns the default value of week fielddisabledIt defines if week field is disabled/enabledformIt returns a reference of enclosing form that contains the week fieldmaxIt returns/sets the value of max attribute of week fieldminIt returns/sets the value of min attribute of week fieldnameIt ... Read More
 
			
			118 Views
The HTML DOM Input Week name property returns a string if name attribute is defined of input Week. User can also set it to a new string.SyntaxFollowing is the syntax −Returning string valueinputWeekObject.nameSetting name attribute to a string valueinputWeekObject.name = ‘String’ExampleLet us see an example for Input Week name property − Live Demo Input Week name form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { border-radius: 10px; ... Read More
 
			
			134 Views
The HTML DOM Input Week min property returns/sets min attribute of Input Week.SyntaxFollowing is the syntax −Returning string valueinputWeekObject.minSetting min to string valueinputWeekObject.min = YYYY-WwwString ValuesHere, “YYYY-Www” can be the following −stringValueDetailsYYYYIt defines year (eg:1990)WIt is a separator for year and weekwwIt defines weeks (eg:07)ExampleLet us see an example for Input Week min property − Live Demo Input Week min form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { ... Read More
 
			
			144 Views
The HTML DOM Input Week max property returns/sets max attribute of Input Week.SyntaxFollowing is the syntax −Returning string valueinputWeekObject.maxSetting max to string valueinputWeekObject.max = YYYY-WwwString ValuesHere, “YYYY-Www” can be the following −stringValueDetailsYYYYIt defines year (eg:2017)WIt is a separator for year and weekwwIt defines weeks (eg:52)ExampleLet us see an example for Input Week max property − Live Demo Input Week max form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { ... Read More
 
			
			130 Views
The HTML DOM Input Week form property returns the reference of enclosing form for input Week.SyntaxFollowing is the syntax −Returning reference to the form objectinputWeekObject.formExampleLet us see an example for Input Week form property − Live Demo Input Week form form { width:70%; margin: 0 auto; text-align: center; } * { padding: 2px; margin:5px; } input[type="button"] { border-radius: 10px; } Week-form Examination Week: ... Read More