Proposal for AUS Promotion Update. Solution and Comments Hiding checkbox First, we’ve to hide the check box which is used for AUS Promotion custitem_on_promotion from the items record page. We can hide this checkbox from the custom form which is used for inventory items record. Form Name –> OX item form – Master which… Continue reading Proposal for AUS Promotion Update
Author: Atul Kumar Soni
What is the ternary operator and how do we can use it?
JavaScript’s ternary operator (?:), also called the conditional operator, is used to replace a conditional statement, most commonly an assignment. For example: As you can tell from the above example, the ternary operator is shorter than using and if…else statement and allows us to assign the resulting value to a variable provided the condition is pretty much… Continue reading What is the ternary operator and how do we can use it?
Why use jQuery?
Some of the key points that support the answer for why to use jQuery: It helps us to manipulate HTML and CSS It helps us to manipulate DOM (Document Object Model) elements Provides event methods to trigger and respond to an events on a html page such as mouse click, keypress etc. Implements AJAX calls.… Continue reading Why use jQuery?
How to create an object from the given key-value pairs using JavaScript?
You are given different key-value pair(s), in any form like an array, and using those key-value pairs you need to construct an object which will have those key-value pairs. Object{} => Object {“0” : “Geeksforgeeks”,”1″ : “Hello JavaScript”,”2″ : “Hello React”} We first need to declare an empty object, with any suitable name, then by… Continue reading How to create an object from the given key-value pairs using JavaScript?
How to change date formats in the input type date field
When we use input field type as the date it’s working initially as mm/dd/yyyy as date format it’ll work perfectly in desktop devices but when we change device like Mobile or iPads when we’re to use that and if we’ve changed that date format as dd/mm/yyyy it’ll not work and it’ll create an issue in… Continue reading How to change date formats in the input type date field
Arrays in JavaScript
Arrays — lists of numbers, strings, booleans, or any other data type. Array access — each item in the array can be accessed by its numeric index. JavaScript arrays are zero-indexed. This means that the first item in an array is at position 0. var products = [‘soccer ball’, ‘cleats’, ‘socks’, ‘shorts’]; console.log(products[0]); // ‘soccer ball’… Continue reading Arrays in JavaScript
Conditional Statements in JavaScript
“If condition A is true, let’s follow a set of instructions, otherwise, if it is false, let’s do something else.” Now, let’s consider a conditional statement that actually does something: var inNortherHemisphere = true; var latitude = 40.7; if (latitude > 30 && inNorthernHemisphere) { console.log(“It’s cold in December!”); } else { console.log(“It’s not cold… Continue reading Conditional Statements in JavaScript
Difference between Array and Array of Objects in JavaScript
In this article, we will see the differences between Array and Array of Objects in JavaScript. Array: An Array is a collection of data and a data structure that is stored in a sequence of memory locations. One can access the elements of an array by calling the index number such as 0, 1, 2,… Continue reading Difference between Array and Array of Objects in JavaScript
How to check whether an array includes a particular value or not in JavaScript?
Construction of an array followed by checking whether any particular value which is required by the user is included (or present) in the array or not. But let us first see how we could create an array in JavaScript using the following syntax- Syntax: The following syntax would be helpful for any user for the creation… Continue reading How to check whether an array includes a particular value or not in JavaScript?
How to change results per Page in SCA.
By default in SCA configuration records, it is set to 20. But sometimes we need to reduce the search results instead of a long number of lists we need to separate this by a number of pages. That’s why we have to reduce the search results. For that, you have to use a standard SCA… Continue reading How to change results per Page in SCA.