Category: Salesforce
jQuery | Get and change link using near by class or Id value
In one of our projects we are working on, we faced a problem where we wanted to change the HREF attribute value of anchor tag using jQuery. When we inspected the HTML code no unique id, name or class was given
Introduction to Heroku
Heroku is an all-in-one cloud based platform which allows software developers to develop and host applications over Heroku cloud. The company was setup in June 2007 which initially supported Ruby programming language. Later on, support for other programming languages such
Transition Delay Property in CSS and Javascript
What is Transition Delay? Transition delay specifies the amount of time for the change to take place in css properties of DOM elements. Transition Delay value is defined in seconds (s) or milliseconds(ms). How to implement Transition Delay in CSS?
Localhost WordPress site asking for FTP credentials on installing new plugin
In one of the WordPress projects we are working on, whenever we tried to install a new plugin in locally installed WordPress, it asked for FTP credentials: When we tried to install a new theme then also it asked for
What is in Bootstrap apart from grid system? Why it has a Javascript file also?
Bootstrap has lots of other things apart from grid system such as: 1. Glyphicons: Bootstrap has inbuilt icons which we can use by icon’s class name. For Example: “glyphicon-search” will create search icon without using any external image. So Bootstrap has
Salesforce | How to prevent double click on Apex button
How to avoid double click on Apex button in Salesforce (after click disable button and enable again once action is complete)? This is the code having the solution (explained below): <apex:actionStatus id=”saveStatus”> <apex:facet name=”stop”> <apex:commandButton value=”Go” action=”{!go}” status=”saveStatus” rerender=”saveParentBlock” />
How to send iCal attachment in the email
Suppose you are sending an email in PHP and want to send iCal attachment. In PHP this can be achieved as below: 1. Create iCal file content and put in a variable (like $iCal here): $iCal = “BEGIN:VCALENDAR\r\n VERSION:2.0\r\n METHOD:PUBLISH\r\n
Tomcat version 8 not visible in Eclipse
Solution: Follow below-mentioned steps and you will get Tomcat version 8 working in Eclipse: 1. Download the latest Eclipse from the official site, preferable version Mars. 2. Do eclipse installation as you did earlier or just extract it in /opt. 3. Now when
Totara | How to create new audience, add members to audience and create learning Paths
In Totara, we can group individual users as “Audience”. This can be done for the users who need to share same learning paths (Courses and Programs). This means we can create an audience and then add users as members to