Sharon Christine has Published 433 Articles

Usage of Bootstrap panel-default

Sharon Christine

Sharon Christine

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

130 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

152 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

68 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

4K+ 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

What does the method fill(obj[], object val) do?

Sharon Christine

Sharon Christine

Updated on 13-Mar-2020 04:56:12

126 Views

The fill(Object[] a, Object val) method of the java.util.Arrays class assigns the specified Object reference to each element of the specified array of Objects.Exampleimport java.util.Arrays; public class ArrayDemo {    public static void main(String[] args) {       Object arr[] = new Object[] {10.5, 5.6, 4.7, 2.9, 9.7};     ... Read More

What is meant by a multithreaded program in Java?

Sharon Christine

Sharon Christine

Updated on 13-Mar-2020 04:54:40

222 Views

A multi-threaded program contains two or more parts that can run concurrently and each part can handle a different task at the same time making optimal use of the available resources specially when your computer has multiple CPUs.Multi-threading enables you to write in a way where multiple activities can proceed ... Read More

Maintaining print program, routines, and forms in SAP in QM02

Sharon Christine

Sharon Christine

Updated on 12-Mar-2020 12:47:58

318 Views

You configure print program and output controls in IMG. Run T-Code: SPRO →Search for Output control or Print controlCheck Shop Papers for Notification types and mention Shop Papers has the ABAP Form and print Program as shown below -

Store data in format of XML string in SAP HANA system

Sharon Christine

Sharon Christine

Updated on 12-Mar-2020 12:45:14

417 Views

In older SAP HANA versions, no XML functions were provided. With HANA 2.0, these two functions are provided- XMLEXTRACT and XMLEXTRACTVALUE for extracting XML string in SAP HANA.Use of XMLEXTRACTXMLEXTRACT(, [, ])Syntax to use −Specifies an XML document of type CLOB, NCLOB, VARCHAR, or NVARCHAR.Specifies an XPath expression of ... Read More

How can we create a MySQL view by using data from multiple tables?

Sharon Christine

Sharon Christine

Updated on 04-Mar-2020 06:29:22

1K+ Views

MySQL UNION operator can combine two or more result sets hence we can use UNION operator to create a view having data from multiple tables. To understand this concept we are using the base tables ‘Student_info’ and ‘Student_detail’ having the following data −mysql> Select * from Student_info; +------+---------+------------+------------+ | id ... Read More

How to declare, create, initialize and access an array in Java?

Sharon Christine

Sharon Christine

Updated on 25-Feb-2020 10:56:19

243 Views

You can declare an array just like a variable −int myArray[];You can create an array just like an object using the new keyword −myArray = new int[5];You can initialize the array by assigning values to all the elements one by one using the index −myArray [0] = 101; myArray [1] ... Read More

Advertisements