
Search In
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
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
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
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
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
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:
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
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
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
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
