
Search In
jQuery.get()
jQuery.get('testing.txt',function(data){
console.log(data)
},'text');
In this blog first we are using the jQuery.get() method. You pass function in arguments instead of passing in an object when you are using jQuery.get(). You ha
<input type="file" name="file" id="file" />
<div style="background:url() no-repeat">
<span id="uploaded_image" ><img src=" '.$row["carimg"].' " height="150" width="225" class="img-thumbnail" /></span></div>
&n
Liferay provides very rich environment to create versions for the Uploaded documents. You can achieve Document Version Control very easily in Liferay by using the below code.
Create the object of ServiceContext as below:
ServiceContext serviceConte
Hello Friends,
If you are looking to execute select query in codelgniter. Please review the code below:
// Pass the table attributes you need to fetch
$this->db->select('id, first_name, lastname');
OR
$this->db->select('*');
// Defi
There are two methods to make object move in unity:
By changing its Transform (Position).
By adding Force by using AddForce() method.
In this blog I have mentioned, how we can make object move by adding force.
Force and Velocity both are componen
Workflow transitions can be restricted to a specific group. Users outside the group can not trigger the transition.For example code is like below..
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record mode
In this tutorial we will see the how to avoid exposing the public properites of any class in oop as it is always a good practice to use encapsulation while coding.One of the main advantage of hide the public properties is that if we want to make som
In Magento sometimes we are required to apply our own custom price on the products while adding to the cart.
To do so we can work upon the event checkout_cart_product_add_after.
Lets see how we can do it:
1. Create a module with names
In OpenERP first, we create existing module and then creates an object in own module and then creates fields and function in module and relate it to the fields, this fields computes all related records and saves it in a database.
Here computed field
Hello Readers,
Step 1 : First we write the ajax code in default.php file inside module (Ex: mod_mymodule) tmpl/default.php folder.
Code Example :
$("#id").change(function()
{
var id=$(this).val();
$.ajax
({
type: "POST",
