Get an attribute value from object using javascript and jQuery

The attr() is a function of jQuery It’s not a native function of Javascript. Below shows how to get the same information using both jQuery and Javascript: Javascript: The getAttribute() method of the element interface returns the value of a specified attribute on the element. If the given attribute does not exist, the value returned will either be null or “” (the empty… Continue reading Get an attribute value from object using javascript and jQuery

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 create show more and show less functionality for hiding text using jQuery

We can add Read More/Read Less button next to a too long HTML element by using jQuery.The amount of content displayed can be changed by clicking on the buttons. Instead of showing a complete paragraph on a webpage, only some part of the text is shown initially and a button is added which shows more… Continue reading How to create show more and show less functionality for hiding text using jQuery

Adding Freezing Header for Sales Orders

Scenario: Sales Orders have item sublist Table, which lists items in each SO. If the number of items becomes too large, we need to scroll the table down, which will also scrolls the table header too. Make this table header freeze and make other details scrollable. Solution: It needs a User Event script. In it’s… Continue reading Adding Freezing Header for Sales Orders

Adding Loading symbol while processing

Scenario: When some process is processing if you need to show any kind of loading symbol for representing the process may take some time. For this you need to add a loading symbol on the page Solution: For this you need to add a jQuery section with a HTML code block. The HTML code block… Continue reading Adding Loading symbol while processing