Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Ajax calls start failing if my app is inactive; otherwise they work just fine on WiFi

In my Phonegap based hybrid app: Ajax calls start failing if my app is inactive for say a couple of minutes. My connection is WiFi & what happens is ajax calls fail with status 0; but navigator.connection.type still shows WiFi

Uses of class and objects

Use of classes and objects in ruby id different to other languages . And tell how to declare and define function in ruby and how to call the functions . Example : In below example i am creating a program of simple arithmetic program . class Arith

JavaScript string prototype property

prototype property in JavaScript: The prototype property gives us freedom to add the new property and method into the object at any time. This is the global property in JavaScript which can be called through any JavaScript object at any time. Examp

Ajax call in wp-oauth plugin

Hello readers, today we discuss about "How to call Ajax in wp-oauth Plugin". "wp_ajax_your_function_name" its a pre define method for loged in users. You can put the below code into plugin.php file. "getMinorCatList" is a function where ajax can hi

How to use current() function and end() function in php ?

why use current() function: current() returns the value of the current element in an array: Syntax of current() function: current(array) why use end() function: end() returns the value of the last element in an array: Syntax of end() function

Classes and implementing methods in Objective C

Hello Guys In this blog, I have declared HomeViewController class and explained how to implement methods in class. HOMEVIEWCONROLLER.H #import <UIKit/UIKit.h> @interface HomeViewController : UIViewController // With the help of interface you

Example of Stored Procedure using INOUT mode parameter

Example of Stored Procedure using INOUT mode parameter: INOUT mode is used when you pass and want to get the result using same parameter. Using INOUT mode parameter we can pass the argument to the Stored Procedure and also can get the result with th

How to create new helper in codeigniter

Codeigniter gives the facility to create own helper according to requirement. You can code easily and call inside the codeigniter controller or model. 1) Create a file and put the following code into it. if ( ! defined('BASEPATH')) exit('No direct

How to filter data in OpenERP using domain list?

It’s right to call a domain a list of criteria. The point to note here is that each criterion is a triple (either a list or a tuple) of (field_name, operator, value) where: field_name (str) It can be defined as a field name of the current model

How to use Classical inheritance in openERP/Odoo ?

When using the _inherit and _name attributes together, Odoo creates a new model using the existing one as a base. The new model gets all the fields, methods and meta-information from its base. For example you can take idea from b

1 … 74 … 168
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: