Giri Raju has Published 101 Articles

What is onmousemove event in JavaScript?

Giri Raju

Giri Raju

Updated on 19-Jun-2020 11:07:27

1K+ Views

The onmousemove event triggers when the mouse pointer moves.ExampleYou can try to run the following code to learn how to work with onmousemove event in JavaScript −                                         This is demo text for mousemove event.    

What are basic JavaScript mathematical operators?

Giri Raju

Giri Raju

Updated on 19-Jun-2020 08:25:40

129 Views

The basic mathematical operators in JavaScript include the following −Arithmetic OperatorsComparison OperatorsLogical (or Relational) OperatorsAssignment OperatorsLet’s see how Arithmetic operators work and what does it include −Sr.NoOperator and Description1+ (Addition)Adds two operandsEx: A + B will give 302- (Subtraction)Subtracts the second operand from the firstEx: A - B will give ... Read More

What is the best way to remove an item from a Python dictionary?

Giri Raju

Giri Raju

Updated on 17-Jun-2020 11:47:49

129 Views

You can use the del function to delete a specific key or loop through all keys and delete them. For example, my_dict = {'name': 'foo', 'age': 28} keys = list(my_dict.keys()) for key in keys:    del my_dict[key] print(my_dict)This will give the output:{}You can also use the pop function to delete ... Read More

instanceof operator in Java

Giri Raju

Giri Raju

Updated on 17-Jun-2020 07:30:28

245 Views

This operator is used only for object reference variables. The operator checks whether the object is of a particular type (class type or interface type). instanceof operator is written as −( Object reference variable ) instanceof (class/interface type)If the object referred by the variable on the left side of the ... Read More

inheritance(is-a) v/s composition (has-a) relationship in Java

Giri Raju

Giri Raju

Updated on 17-Jun-2020 07:11:07

543 Views

IS-A RelationshipIS-A is a way of saying − This object is a type of that object. Let us see how the extends keyword is used to achieve inheritance. public class Animal { } public class Mammal extends Animal { } public class Reptile extends Animal { } public class Dog extends ... Read More

How to format hexadecimal Number in JavaScript?

Giri Raju

Giri Raju

Updated on 17-Jun-2020 06:35:28

819 Views

Firstly convert your number to hexadecimal with leading zeros and then format it by adding dashes.ExampleYou can try to run the following code to format hexadecimal number −Live Demo                    var num = 32122;          var myHex ... Read More

How to print current year in JavaScript?

Giri Raju

Giri Raju

Updated on 16-Jun-2020 13:27:38

941 Views

To get current year in JavaScript, use the getFullYear() method.ExampleYou can try to run the following code to print current year −Live Demo           Click below to get the current year:       Display Year                      function display() {             var date = new Date();             var res = date.getFullYear();             document.getElementById("test").innerHTML = res;          }          

What are HTML 5 Standard Events?

Giri Raju

Giri Raju

Updated on 16-Jun-2020 11:38:33

424 Views

When a user visits your website, they do things like click on text and images and given links, hover over things etc. These are examples of what JavaScript calls events.We can write our event handlers in JavaScript or VBScript and you can specify these event handlers as a value of ... Read More

Difference between SBObob GetItemPrice and CompanyService GetItemPrice in SAP B1?

Giri Raju

Giri Raju

Updated on 15-Jun-2020 08:51:16

127 Views

As per my understanding, SBObob takes fewer parameters but provide the more accurate result for item price taking into accounts for BP and quantity of items, etc. CompanyService GetItemPrice accepts more parameters however information is scarce in the SDK help file for this method. Also, note that there is no ... Read More

Change user settings for case sensitivity in SAP 6.0

Giri Raju

Giri Raju

Updated on 13-Jun-2020 06:11:30

459 Views

Yes, there are user specific text settings which can let you stroke in Uppercase or lowercase whatever is you choice. Go to ABAP Editor initial screen using T-Code: SE38You need to go settings under utilities tab. With utilities select ABAP editor tab. Once you have selected ABAP editor tab, select ... Read More

Previous 1 ... 3 4 5 6 7 ... 11 Next
Advertisements