Giri Raju has Published 90 Articles

How I can show JavaScript alert box in the middle of the screen?

Giri Raju

Giri Raju

Updated on 25-Sep-2019 08:53:43

1K+ Views

To show the JavaScript alert box in the middle, you need to use the custom alert box. Under that, style it accordingly and position it to the center. Use the “top” and “left” CSS properties to achieve this. Set them as 50%, but as you can see a button below, ... Read More

How to give a warning for Non-JavaScript Browsers?

Giri Raju

Giri Raju

Updated on 12-Sep-2019 08:47:00

167 Views

To let users know about non-JavaScript web browsers, use the tag. The HTML tag is used to handle the browsers, which do recognize tag but do not support scripting. This tag is used to display alternate text messageHere’s an example,           HTML ... Read More

Should I include type=“text/javascript” in my SCRIPT tags?

Giri Raju

Giri Raju

Updated on 12-Sep-2019 08:38:14

2K+ Views

The type attribute in JavaScript is optional since the introduction of HTML5 brought some new improvements. JavaScript became the default language for HTML5 and modern browsers. So, now adding text/javascript isn’t required in tag.This attribute is what is now recommended to indicate the scripting language in use and its ... Read More

How do we compare String in Java

Giri Raju

Giri Raju

Updated on 30-Jul-2019 22:30:21

160 Views

https://www.tutorialspoint.com/javaexamples/string_compare.htm

Difference between declaring a variable before or in a Java loop.

Giri Raju

Giri Raju

Updated on 30-Jul-2019 22:30:21

57 Views

Performance wise, there is hardly any difference. But it is good to keep a variable local to the scope it is used. So declaring a variable inside Java loop is generally preferred.

What are the complexities MySQL joins involve?

Giri Raju

Giri Raju

Updated on 30-Jul-2019 22:30:21

149 Views

Actually, in simple words, we can say that a join between tables is an extension of a single-table SELECT statement but it involves the additional complexities:Need to specify all the tablesWe need to specify all the tables in FROM clause which are involved in the join. It is in contrast ... Read More

Using method “DUMPSETSET_GET_ENTITYSET” in SAP FM

Giri Raju

Giri Raju

Updated on 30-Jul-2019 22:30:20

115 Views

Note that you need to map GetEntitySet to a data source from SEGW - SAP Gateway Service Builder and you will be able to generate runtime objects.For more details you can refer to this link:https://blogs.sap.com/2012/10/26/step-by-step-guide-to-build-an-odata-service-based-on-rfcs-part-1/

How to find the version of Java using command line?

Giri Raju

Giri Raju

Updated on 30-Jul-2019 22:30:20

11K+ Views

You can find the version of the Java software currently installed in your system using Programs and using Command prompt. Using Command prompt The -version command of the java command prompt gives you the current version of the Java software installed in your system. Therefore, open command prompt and type ... Read More

Handling higher level Boolean values in SAP system

Giri Raju

Giri Raju

Updated on 30-Jul-2019 22:30:20

133 Views

As per the general standards and coding practice, you should use abap_bool for handling Boolean value or truth values. In this case, if any object is declared as abap_bool type, then it can hold values only from the set (abap_truth, abap_false and abap_undefined). But in older systems, you might not ... Read More

How is JIT compiler different from normal compiler?

Giri Raju

Giri Raju

Updated on 30-Jul-2019 22:30:20

2K+ Views

Java uses javac (compiler) to convert the java code to byte code (.class file).When we run this code using JVM, it internally converts the byte code to system understandable code using an interpreter.Instead of executing a piece of code, again and again, JVM identifies them as “hot spots” and compiles ... Read More

Advertisements