Sharon Christine has Published 413 Articles

Why formaction attribute is not working outside of
tag?

Sharon Christine

Sharon Christine

Updated on 15-Jun-2020 11:31:20

735 Views

We can make the formaction attribute to work outside the tag. The formaction attribute is used to specify more than one submit URLs for one form. When you submit a form, the web browser first checks for a formaction attribute.If the formaction is not present, the web browser moves ... Read More

How to link a submit button to another webpage using HTML?

Sharon Christine

Sharon Christine

Updated on 15-Jun-2020 11:16:23

3K+ Views

Submit button automatically submits a form on click. Using HTML forms, you can easily take user input. The tag is used to get user input, by adding the form elements. Different types of form elements include text input, radio button input, submit button, etc.To link a submit button to ... Read More

Joining two Arrays in Javascript

Sharon Christine

Sharon Christine

Updated on 15-Jun-2020 08:12:22

269 Views

There are two ways to join 2 arrays in Javascript. If you want to get a new array and not want to disturb the existing arrays while joining the two arrays then you should use the concat method as follows − Examplelet arr1 = [1, 2, 3, 4]; let arr2 = ... Read More

Searching an element in Javascript Array

Sharon Christine

Sharon Christine

Updated on 15-Jun-2020 08:05:09

531 Views

Javascript provides a collection of functions that you can use to find elements in an array. Let's start with the most basic one. The indexOf function goes through the entire array and returns the index of the element you searched for, if it is found else it returns -1. For ... Read More

SAP Associate Level Exam preparation

Sharon Christine

Sharon Christine

Updated on 13-Jun-2020 14:45:10

122 Views

First, let me make your core basics clear.When you are referring to SAP ECC, you are referring to SAP ERP Central Component which is more or less equivalent to the prior SAP R3 System.  ABAP does not play any much part over here.But ABAP resides in the kernel of SAP ... Read More

HTML DOM Input Month step Property

Sharon Christine

Sharon Christine

Updated on 13-Jun-2020 08:50:42

115 Views

The HTML DOM input month step property returns and modify the value of the step attribute of input month field in an HTML document.SyntaxFollowing is the syntax −1. Returning stepobject.step2. Modifying stepobject.step = “number”ExampleLet us see an example of HTML DOM input month step property − Live Demo ... Read More

Usage of Bootstrap panel-default

Sharon Christine

Sharon Christine

Updated on 12-Jun-2020 18:36:42

204 Views

For a basic panel, add class .panel to the element. With that, add class .panel-default to this element.You can try to run the following code to implement a panel-default classExampleLive Demo           Bootstrap Example                                                       This is demo text in a panel.                    

HTML DOM Input Button Object

Sharon Christine

Sharon Christine

Updated on 12-Jun-2020 10:51:47

241 Views

The HTML DOM Input Button Object serves as an input HTML element with type attribute as “button”.Let us see how to create an Input Button Object −syntaxFollowing is the syntax −var newButton = document.createElement(“INPUT”); newButton.setAttribute(“type”, ”value”);Here, value can be “button”, “submit” & “reset”.propertiesFollowing are the properties of Input Button Object ... Read More

What will happen when [50,100] is converted to Boolean in JavaScript?

Sharon Christine

Sharon Christine

Updated on 23-May-2020 11:02:51

106 Views

Use the Boolean() method in JavaScript to convert to Boolean. You can try to run the following code to learn how to convert [50, 100] to Boolean in JavaScript.ExampleLive Demo           Convert [50,100] to Boolean                var myVal = [50,100];          document.write("Boolean: " + Boolean(myVal));          

How to show all the options from a dropdown list with JavaScript?

Sharon Christine

Sharon Christine

Updated on 20-May-2020 08:56:35

5K+ Views

To show all the options from a dropdown list, use the options property. The property allows you to get all the options with length property.ExampleYou can try to run the following code to get all the options from a drop-down list.Live Demo             ... Read More

Advertisements