
Search In
If you want to change the enter key to search key, here is the code to get the same:-
Step 1:- In your xml file add the following EditText
<EditText
android:id="@+id/ed_search_key"
android:layout_width="wrap
How to modify the PetToysList component so clicking on a toy replaces the homepage by the toy's form view in OpenERP/Odoo ?
If you want to modify the PetToysList component in OpenERP(Odoo) so that when you click on a toy it replaces the homepage by
Lets say we have models User and Friend related by User hasMany Friend relation. If we are required to pull out all users along with their female friends then how do we do that?
Usually people think like this :
$this->User->find('all', array
When you works in Wordpress the loop is the main part of your template to show the post to the user, using the loop you defines how you want to show the content to your user, Lets take a look how you can show the posts in index.php in WP site , in i
Hello Readers!
If you want to redirect users after adding a specific product to their cart. Below is the example, just pasted this code into into your theme’s functions.php file
<?php
add_filter( 'woocommerce_add_to_cart_redirect', 'redirec
Hello all,
working with HTML Editor, i came across to situation where we getting a horizontal scroll bar when we enter data in the numbered list line having width higher than the Editable Div.
To solve this issue we have this block of code.
On key
Here is the example for *How to use upload files with JQuery. *
If you having trouble with such issues, then use the below code.
Here is the HTML
<div class="flie-btn clearfix">
<input class="fileinput" type="file" name="data[User][
Hello friends,
As we have seen, cordova push plugin only provides access to notification action when we click on notification from status bar, but if we want to perform that action without clicking on notification we have to add some extra code.
1
Hello Reader's!
If you are developing the html5 based ajax image uploader then you can look this jquery as the best and easy to use. Lets see how to upload images
1) include two JS file
<script src="jslibs/jquery.js" type="text/javascript">&l
Hello Readers,
In jquery when we use the two or more than two same id's as a selector or elements and operate over jquery event than sometimes effect on its performance due to caching.
For Example :
$("#mydemo").css("color", "red");
//Doing some
