Category: Java Frameworks
Java | Stripe – Handling expired credit cards
Description: We are registering our customers using Stripe payment gateway where we are storing customer card details. We are doing recurring payment for customers periodic billing cycle. But if customer’s card expires or card number changes, we will not get
HTML | Print preview a specific div only
How to view the print preview of a specific div of the page and take a printout of that specific div only? 1.First, create a full-screen modal on the page: <div class=”modal fade” id=”myModal”> <div class=”modal-content”> <div class=”modal-header text-center”> <button
Compare Passwords in HTML5 form validation using Jquery
In one of our projects, requirement was to compare two password values using HTML5 form validation (display the message in the same format as regular HTML5 messages are displayed). Let us assume that we have a HTML5 form for change
JavaScript and Jquery Best Practices
1. Place Scripts at the Bottom of the Page: If we include script at the top, sometime page elements are not loaded completely and script starts working. So we need to include scripts after loading all the elements. Also if scripts
Salesforce | Upload Document in Salesforce using javascript
We can create a document/attachment object record in Salesforce using Javascript by calling Salesforce soap webservice. Note – Variable __sfdcSessionId is used to store sessionid. Script files: <script type=”text/javascript”>// <![CDATA[ __sfdcSessionId = ‘{!$Api.Session_Id}’; // ]]></script> <script src=”/soap/ajax/30.0/connection.js” type=”text/javascript”></script> <script src=”/soap/ajax/30.0/apex.js”
Handling twitter and google plus share button in wordpress
Handling content and image sharing with twitter and google plus share buttons in wordpress To achieve dynamic content(including image) sharing from a website with share buttons (or links) for share and likes on social sites like twitter and google plus,
Software Testing | Identifying bugs in different ways
In software testing, we have various way to identify the bug/defect. Some of them are as given below: 1. Severity Wise: * Major: When defect affects major functionality. Example: Suppose a Logo text is not Proper that will be affect
Using Google reCaptcha to authenticate user login on login form
Google reCaptcha is a free service API provided by Google to protect your site from unauthorized access, abuses and spam. The API uses advanced risk analysis technique to distinguish among a human being and a bot. The reCaptcha API comes
Some Important new features in html5
Semantic tags in HTML 5: Semantic tag introduces meaning to the web page rather than just presentation. like and tags are not semantic tags because these are just used for content presentation in the browser. These are list of semantic tags: