We can fetch and collect information of XML file using AJAX. In it first a function creates an object and then adds a function which is to be executed and when the server response is ready, sends the request off to the server. The loadDoc() function creates an XMLHttpRequest object, it adds the function which is to be executed.… Continue reading How can we fetch information from XML file using AJAX
Author: Sarvshrestha
How to change currency sign into different symbol
If we have to change the currency sign or have to put different currency sign there. Then we can use this method there for getting the values. After assigning the currency just call it before the value where we want to put. For Eg: ${currencyType}
Using JQuery fn to find out the specific element in the table
Suppose there are names and Id given for every individual person in a table and we want to find out the specific customer name &Id. We can use JQuery function to find out that. By using this fn: Here #myInput is the input which we give and according to that it will filter the table(row… Continue reading Using JQuery fn to find out the specific element in the table
Remove duplicate image direct from the website using JQuery fn
We can remove the duplicate image from the website by using this function . We find image with their source in the website so if we want to delete it we can make a if condition there so that it will take only one different source files. Using Jquery fn : <script> $(document).ready(function() { var… Continue reading Remove duplicate image direct from the website using JQuery fn
How to display $ currency and value upto 2 decimal places at same time in email template page
We can use (?string.currency) in the email template of the netsuite.The most basic way to format a number as Currency is to add ?string.currency onto the end of the variable that is being used. This will bring any numbers to 2 decimal places and will also put a $ next to the number. Also, negative… Continue reading How to display $ currency and value upto 2 decimal places at same time in email template page