Category: Web Development
Show Processing image on web page for Synchronous Ajax
Problem: When we fire a Synced ajax call it blocks all the other functionality of that tab of the browser and fires/executes other event or code only after the synced ajax gets back with its response. Also the code fires the
AWS | Cloudfront for S3 using same domain name placed behind cloudfront
How to set up a CloudFront for S3 bucket containing images for the website, using the same domain name that is already placed behind CloudFront. 1. Open CloudFront from a menu: 2. Click Create Origin: 3. Now, click in box
How to add font-awesome progress icon in textbox for autocomplete Jquery-UI plugin
First of all, we should know what features are provided by jquery-ui plugin. To know about details, please see link, http://jqueryui.com/demos/ Jquery UI plugin can be downloaded from the link http://jqueryui.com/download/ Now, today, we will discuss about Autocomplete feature of
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
Using concatenate, cases, substring in CakePHP 2
How to use concatenate, cases, substring in CakePHP 2.* find query. Suppose given records are: Problem: Display user details in one column and the first character of user role in front of the user full name. Also suppose in case
How to Convert XML to a dynamic object in C#
First of all how to parse a predefined XML structure to a class object in C# Sample XML: <User> <Name>Joseph Lawrence</Name> <Class>Second</Class> <Section>B</Section> <Roll_number>2735</Roll_number> <Joining_Dt>20160323</Joining_Dt> </User> Above sample can be parsed by creating a class and setting each variable
Steps to Create and Delete Windows TaskScheduler instance in C#
Steps to Create and Delete Windows TaskScheduler instance in C# code: Dependencies: Add reference of the taskschd.dll file. On click of start button following steps need to be executed to create an instance of Scheduler: 1. Create the instance of
QuickBooks Integration | Important Quickbooks Webconnector Facts
Question: Can we add custom functions in quickbook? Answer: Yes, In quickbook.php file we need to add Constants to make custom function and we can add as many as we want. After defining these constant we can map these in
How to Disable CSRF token in Laravel Application
CSRF stands for cross-site request forgery. CSRF token is basically used for security purpose in Laravel forms. To understand how it works read here: https://laravel.com/docs/5.4/csrf How to disable it if required? CSRF protection is enabled by default in all routes