Category: Web Development
HTML | Make HTML table sortable on column click
When we need to sort an HTML table on click of any of its column headers then we can use sortable.js: Download library file sorttable.js. Add this js file to the current page. Add sortable class to the table for
Heroku | Fatal error due to PHP 7 and old version of CakePHP
Fatal Error on website whenever we were pushing any code change to our website hosted on heroku. We were suddenly facing a fatal error (error 500) on our website. After making debugger on, it displayed the following error : After
Cakephp | How to send email using google api (gmail) in cakephp 2.x ?
How to send email using google api (gmail) in cakephp 2.x? Answer: When you send email using google api, you’ll need: 1. Cakephp 2.x 2. A Google account with Gmail enabled. 3. PHPMailer Library. Download PHPMailer library from below link:
Jquery : Filter array by applying AND & OR logic on checkboxes
In one of our projects we have multiple groups of checkboxes and corresponding divs with id as checkbox label. Now we want our checkboxes to perform AND and OR logic . For Example: <html> <div id=”_Java_less than 1500_Basic_Dennis Ritchie” class=”6″
Salesforce | Creating communities in Salesforce
Steps to create the communities in Salesforce: 1. Click on Setup: 2. Under customize click on communities. Click on all communities: 3. Click on New community button: 4. Choose your template according to your requirements. There are 5 templates provided
Salesforce: Call Apex Class on Click of Custom Button
1. Create apex class that you want to call (it should be declared global): Global class Test { Webservice static void testMethod() { //do something. } } Note: Webservice method must be static: Global class Test { Webservice static void
Java Spring | Verifying against WhiteList IP Addresses (spring 4.0.4)
While designing RESTful web services in a Spring-based web application, we may have a requirement that some web services should be allowed to run only from specific IP addresses. Spring framework provides a simple procedure to verify if the incoming
Website Performance Testing using Apache Jmeter
Performance testing is used to determine that the web application under test will satisfy high load. Apache Jmeter can be used to analyze overall server machine performance under heavy load. Apache Jmeter Performance test includes: * Load Test * Stress
What is Ajax? How to send the request using different Jquery methods?
What is Ajax? How to send the request using different Jquery methods? Ajax: Ajax stands for Asynchronous JavaScript and XML. Ajax is a technique for creating fast and dynamic web pages. Ajax allows web pages to be updated asynchronously by
