Connected TV, Experience Design

Top 6 Key Considerations When Developing Smart TV Application

We are living in a smart economy. Every passing day we witness a surge in smart and connected products may it be Smart Home, Smart Phones, Smart Watches or Smart TVs. The rise in digital technologies presents an opportunity to develop cutting-edge products that are both engaging and intuitive. Companies wanting to ride the smart bandwagon...

by Nidhi Choudhary
Tag: Ajax
22-Aug-2017

Java, Technology

How to allow Cross Domain Ajax calls to an Application in Spring Boot Application

You can allow Cross Domain Ajax calls to an application by just registering a new filter and then configure it to Allow-Origin : {your domain's} or you can use a wild card "*"  to allow the calls from all domains. You can even Define the Custom Headers your application supports by defining them in a comma separated format ,...

by Ekansh Rastogi
Tag: Ajax
18-Nov-2015

Grails, HTML/UI/CSS

Using pipeline in DataTables

jQuery DataTables is simple to use as a jQuery plug-in with a huge range of customizable options. As discussed in a previous blog, we already know how to draw a basic paginated html table using DataTables. Another way is to make an ajax call for every page. This causes multiple requests to be made on your server for every dataset. ...

by Mansi Arora
Tag: Ajax
10-Aug-2015

Grails

Uploading a file using only Ajax

We often need to upload a file without refreshing page or even before user submits the complete form. We have been using flash uploaders or i-frames to achieve that. However now it is possible to upload a file using only ajax and javascript. The first thing we need is a HTML form that will allow the user to select the file that they...

by Mansi Arora
Tag: Ajax
04-Jul-2014

Grails, Javascript/Ajax/JQuery

Applying layout to template at Runtime in Grails Application

There are use cases where we render the template from our action and update some div in the page using ajax. The downside of this approach is when the user hits the url directly in browser address bar and the UI get totally messed up. So to fix this issue we need to apply the layout at runtime and its pretty easy in grails to do...

by Uday Pratap Singh
Tag: Ajax
16-Mar-2014

Javascript/Ajax/JQuery

How to Use CRAWLME

How to implement CRAWLME? Make you ajax app use the hashbang #! instead of just hash # in urls which allows Google to crawl and index those ajax supported urls. Insert the CRAWLME middleware before your server in the chain of Connect/Express middlewares. Crawlme takes care of rest. Example: var connect = require('connect'); ...

by Shreyance Jain
Tag: Ajax
12-Aug-2013

Javascript/Ajax/JQuery

MAKE your AJAX WEB APPLICATION INDEXABLE using CRAWLME

Recently, Programmers are more inclined towards creating web application with AJAX than doing it with static HTML pages which makes applications faster and richer. But by doing so, application loses its indexability which results in modern and user friendly yet less searchable apps. Let’s take an example of a website:  For browser/user...

by Shreyance Jain
Tag: Ajax
12-Aug-2013

Database, Grails

Accessing remote data through cross-domain ajax call in jquery

While developing a mobile app using phonegap ( or otherwise also :) ), we can access remotely hosted mysql database using jquery ajax calls. But this interaction between jquery and mysql database cannot happen directly. We will need to specify a server side script (in PHP terminology) or a controller action (in Grails Terminology) that...

by raj
Tag: Ajax
24-Sep-2012

Grails

Implement Ajax call in Grails web-flow

In one of my recent project, i want to use grails web-flow with ajax call. It's very easy to implement the web-flow with ajax call. Grails web-flow always track the actions on the basis of eventId & flow execution key. So, to implement ajax call in web-flow, we have to pass the event id & flow execution key. 1. Let us assume,...

by Mohit Garg
Tag: Ajax
16-Sep-2012

Javascript/Ajax/JQuery

JQGrid Expanding SubGrid on page load

Hi,   Recently guys, i faced problem while expanding the JQGrid SubGrid onLoad of the page.   Initially, i used the following code on gridComplete Event of JQGrid, Using the code given below, i am only able to expand grid but without data populated in subgrid. gridComplete: function() { var rowIds =...

by Tarun Pareek
Tag: Ajax
13-Feb-2011

Javascript/Ajax/JQuery

Asynchronous behavior of AJAX

Ajax (shorthand for Asynchronous JavaScript and XML) is used to retrieve data from the server asynchronously without interfering with the display and behavior of the existing page. Forgetting this asynchronous behavior will produce incorrect result if it depends on the response from Ajax call. Lets take an example(I am using JQuery to...

by Bhagwat Kumar
Tag: Ajax
14-Sep-2010

Javascript/Ajax/JQuery

JQuery: Send JSON Objects with an Ajax Request

Through my blog, I will discuss about sending JSON objects with ajax request using JQuery. We have number of functions in jQuery to kick-off an ajax request. But for sending JSON objects along with the request, I chose jQuer.ajax(). It takes various parameters url, type, data, dataType, beforeSend etc. Its API can be found here. Lets...

by Amit Jain
Tag: Ajax
11-Jun-2010