We use the HTML list element to create the navigation menu, the CSS pseudo-elements to add an outside curve in the menu, and JavaScript is used to add an active class in the menu. With the help of the CSS border-radius property, it is very easy to make an inside curve. But while making an… Continue reading How to make a curved active tab in the navigation menu using JavaScript
Author: Priyadarshini Elumalai Kannan
How to clear the form after submitting in Javascript without using reset
The form allows us to take input from users and manipulate it at the front end or backend side of the application. Also, to provide a good user experience to the application user, we need to reset all the form data once the user submits the form. Example: In the example below, we have created… Continue reading How to clear the form after submitting in Javascript without using reset
How to shrink a header on scroll using javascript
Step 1) Add HTML: Create a header: Example code: Step 2) Add CSS: Style the header: Example code: Step 3) Add JavaScript: Example code:
Creating a responsive “timeline” using CSS
We can easily create a timeline using some basic HTML and CSS. HTML Code is used to create a basic structure of the timeline and CSS code is used to set the style. Step 1) Add HTML: Example code: Step 2) Add CSS:
How to fix the issue: Uncaught RangeError
This is an error that occurs One is when you call a recursive function that does not terminate. It may also happen if you pass a value to a function that is out of range. Many functions accept only a specific range of numbers for their input values. For example, Number.toExponential(digits) and Number.toFixed(digits) accept digits from 0 to 100,… Continue reading How to fix the issue: Uncaught RangeError
TypeError: Cannot read property “custbody_field” of null
To find the NetSuite script that is causing the error, follow these steps: Go to Customization > Scripting > Scripted Records. Edit the record that you’re trying to troubleshoot, say for example, “Sales Order”. Look at the list of scripts deployed on the record defined by the “Deployed” checkbox. Uncheck all the scripts under “User Event Scripts” or… Continue reading TypeError: Cannot read property “custbody_field” of null
Resolve “page not found” for the commerce category
Update the Commerce Category Navigate to Commerce > Content Management > Commerce Categories Category in question: Click Edit URL Fragment: Change the valueExample: Update capitalization Click Save Update the SuiteCommerce Configuration Navigate to Setup > SuiteCommerce Advanced > Configuration Select Website: Select Site Select Domain: Select Domain Click Configure Click Shopping Catalog Click Facets XXXXX: Update the Value Click Ok Click Save
Error: No such file or directory, stat ‘DeployDistribution/*’
The error happens in the terminal when deploying the theme/Extension. Method 1: In the terminal run, command nvm install 12.21.0 then run command gulp theme:deploy ( if the error appears in the theme ) gulp extension:deploy (if the error appears in the extension) Method 2: delete node-modules folder run command npm cache clean –force run command npm install run… Continue reading Error: No such file or directory, stat ‘DeployDistribution/*’
Animate the background of the Progress bar using CSS
We can change the background of the webpage by animating the progress bar using CSS we’re going to animate the progress bar created with the HTML <progress> tag, background
Price Filtering for Currency by Location
It includes replication filtering for price levels using the currency assigned to the location. In the past, all prices in all currencies handled by a retailer were downloaded to all registers. However, registers in Oklahoma City, OK USA do not need pricing in Euros and registers in Tokyo, Japan would not typically trade in US Dollars.… Continue reading Price Filtering for Currency by Location