
Search In
Sometimes we need to make AJAX call in our Web page. The purpose of AJAX call is that you want to get/submit data without refreshing your page or you want to submit your form by calling an API. We can do this very easily by using ajax() method of jQu
// date from string
NSString *dateString = [NSString stringWithFormat:@"%@",_model.time]; // model.time is the field in which we are fetching the string.
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter se
If you want to show a menu badge in OpenERP/Odoo then you should follow the below code:
class Shiva(models.Model):
_name = 'Shiva'
_inherit = ['ir.needaction_mixin']
STATES = [
('healthy', "Healthy Shiva"),
Hi Readers,
Many time we will get HTML content in our API response which we need to load into our component like UILabel. We can convert this HTML content into normal string or more specifically NSAttributed string which we can set into UILabe
It’s not wrong to say that HashMap is an implementation of Map interface as it allows value storing in key value pairs. Although unique elements are present in Hashmap, null values and only one null key are allowed.
Hashmap basically works on
Introduction
In this section we will talk about three things: what to profile, why we need profiler and how can we profile our code. So we will discuss this one by one.
Profiling collect the information about an application, that helps you to dete
Can we bind a DropDownList using List<> in Asp .Net
The Answer is :
Yes, we can bind a DropDown in Asp .Net using List<>. Please go through the following code for Example:-
Let's create a Class say DropdownClass, in the class we create
In OpenERP, create a custom module like: demo and then create file like: demo.py file in your demo module and demo.py file pass in your other file __init__.py file. And then create other file demo.xml file and pass this file in your other file like a
Hello Reader's if you find your website is too heavy to load the contents, then you can use the ajax to load images.
By using Ajax data be loaded and browser will load the heavy images with fade in effect.
So lets get started with
Drag and Drop feature allows a user to catch an element and drag it to any page or drop to some other location of the page. Earlier to use the feature of drag and drop programmer either has to create more complex javascript programming or use some th
