
Search In
//Call ajax function on autocomplete in jquery
$(document).ready(function(){
jQuery("#name").autocomplete({
source: function(request, response) {
$.ajax({
url: 'include/get.php',
type: "POST",
<h2>//Call ajax function on autocomplete in jquery</h2>
$(document).ready(function(){
jQuery("#name").autocomplete({
source: function(request, response) {
$.ajax({
url: 'include/get.php',
Recently while working for a project I faced an issue while making the site live.
The site was developed with kohana framework and was to be hosted on Godaddy Server (Shared Hosting) and I faced a peculiar issue on the server giving me an error
No
The SplFileObject class provides an object oriented interface for a file.
$file="upload_file.csv"; //file to parse
Steps:
1) Create SplFileObject class object to the csv file.
$srcFile = new SplFileObject($file);
2)Now loop till end of file f
Printing any field on an OpenERP report on a conditional basis, you can add a simple line in your report
[[(object.field == 'Some Value') and 'value1' or 'value2']] is equivalent to
if object.field:
print value1
else:
print value2
Suppose
JavaScript Pagination
Here i am going to describe how we would add JavaScript pagination to the table.
We'll focus on displaying a particular page of data.
$(document).ready(function() {
$('table.paginated').each(function() {
var currentPage = 0;
Following steps are required to find out the coordinates on a page:
Step1: Download the file from the location
http://code.jquery.com/jquery-1.6.3.min.js
Step2: Write the script under the script tag of the aspx page
The readyState property in QTP returns the loading status of the current browser . This property
Will be of immense help if the AUT under test has a lot of sync issues while running the script .
This property returns one of four values :
1. unini
We can use config.php in cakephp to define constant which need to be used in our whole project example we have different role id for different users.We can define those user corresponding to their role id and can easily access them through out the p
When we use Auth component for login in cake php then we are restricted to use 2 column in users table 'password' and 'username' .If we want to use our own column name then follow these steps: Step 1: Include the below function in YoursController.
S
