Articles on Trending Technologies

Technical articles with clear explanations and examples

How to handle when JavaScript is turned off?

Johar Ali
Johar Ali
Updated on 13-Jun-2020 176 Views

Nowadays, almost every web browser supports JavaScript. If it is turned off, you can use tag. 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 an alternate text message.Example           HTML noscript Tag                                              Your browser does not support JavaScript!          

Read More

How to declare variables in JavaScript?

Rahul Sharma
Rahul Sharma
Updated on 13-Jun-2020 1K+ Views

Like many other programming languages, JavaScript has variables. Variables can be thought of as named containers. You can place data into these containers and then refer to the data simply by naming the container.Before you use a variable in a JavaScript program, you must declare it. Variables are declared with the var keyword as follows.     You can also declare multiple variables with the same var keyword as follows −     Storing a value in a variable is called variable initialization. You can do variable initialization at the time of variable creation or at a later point in ...

Read More

Where should the Google Analytics Tracking Code be placed?

Johar Ali
Johar Ali
Updated on 13-Jun-2020 138 Views

When integrating your website with Google Analytics, add the Tracking Code in your code. This will allow Google Analytics to track the page views and provide other analytics.Copy the code and place it just before closing tag i.e. in your website code. When you will integrate, the following steps and the tracking code will be visible. This shows how and where to add the tracking code −

Read More

What does “?:” mean in a Python regular expression?

Rajendra Dharmkar
Rajendra Dharmkar
Updated on 13-Jun-2020 2K+ Views

Non capturing groupsIf  we do not want a group to capture its match, we can write this regular expression as Set(?:Value). The question mark and the colon after the opening parenthesis are the syntax that creates a non-capturing group. The regex Set(Value)? matches Set or SetValue. In the first case, the first (and only) capturing group remains empty. In the second case, the first capturing group matches Value. The question mark appearing at the end is the quantifier that makes the previous token optional. Set(?:Value) matches Setxxxxx, i.e., all those strings starting with Set but not followed by Value. Such would be ...

Read More

What is the difference between anonymous and inline functions in JavaScript?

Rahul Sharma
Rahul Sharma
Updated on 13-Jun-2020 2K+ Views

Anonymous FunctionsAnonymous, as the name suggests, allows creating a function without any names identifier. It can be used as an argument to other functions. This is how JavaScript anonymous functions can be used −var myfunc = function() {    alert(‘This is anonymous'); }Another example can be the following −setTimeout(function() {    alert('Demo'); }, 3000);Inline FunctionsAn inline function is a javascript function, which is assigned to a variable created at runtime. You can difference Inline Functions easily with Anonymous since an inline function is assigned to a variable and can be easily reused.This is how JavaScript inline functions can be used −var ...

Read More

How to write JavaScript in an External File?

Amit Sharma
Amit Sharma
Updated on 13-Jun-2020 8K+ Views

Create external JavaScript file with the extension .js. After creating, add it to the HTML file in the script tag. The src attribute is used to include that external JavaScript file.If you have more than one external JavaScript file, then add it in the same web page to increase performance of the page.Let’s say the following new.js is our external JavaScript file −function display() {    alert("Hello World!"); }Now add the external JavaScript file to the HTML web page −                                      

Read More

Why prefer to put JavaScript in the footer of an HTML page?

Rahul Sharma
Rahul Sharma
Updated on 13-Jun-2020 922 Views

With JavaScript, you can put JavaScript anywhere on the page, whether inside or tag. But, it is a good practice to add JavaScript in the footer i.e. just before closing the tag. This is because −It loads script faster.It will not block any DOM content to load.It loads the web page before loading JavaScriptImproves display speedPage loads faster

Read More

Change user settings for case sensitivity in SAP 6.0

Giri Raju
Giri Raju
Updated on 13-Jun-2020 790 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 pretty printer section. You will have a handful of options to choose from.

Read More

Getting error- <type table> is not an internal table “OCCURS n” specification is missing in SAP method

Abhinanda Shri
Abhinanda Shri
Updated on 13-Jun-2020 2K+ Views

You need to define the et_flights parameter as of type SFLIGHT. As per method defined, you have this type as structure type and also declare transparent table SFLIGHT at the same time.You should use an already available dictionary table type with row structure of SFLIGHT for et_flight.You should declare et_flights inside the method in class definition as a private member or as a return value of the method.class myclass definition.    public section.    types ty_mytable type standard table of sflight.    methods mymethod exporting mydata type ty_mytable. endclass. class myclass implementation.     method mymethod.       ...

Read More

Estimation of number of SAP programs and factor deciding it

SAP
Paul Richard
Paul Richard
Updated on 13-Jun-2020 121 Views

There is no official table as you quoted in your example as there is a number of factors on which estimation depends, for example:a) Programmer experience b) Complexity of code c) Interaction with other interfaces d) Your standard and best practicesYou would require building your own formula/technique based on various factors and map it with current estimation to get more accuracy.

Read More
Showing 45971–45980 of 61,248 articles
Advertisements