Archive for January, 2012

Jquery Auto complete

Leave a comment

Vocabulary Plus (A)

Abate (v) noun:abatement

Abhor noun : abhorence

Abject

Abruptly

Absorbed

Abundant

Accumulate

Accurate

Acrid

Adjacent

Admonish

Adore

Adroit (v) noun : adroitness adv:adroitly

Affluent noun: affluence adv: affluently

Aggravate (v)

Agile (adj)

Agitate (v) noun: agitation adj: agitated

Aglow adj & adv

Ailment (n)

Alleviate (v) noun: alleviation

Allure(v) adj: alluring

Aloof(adj) eq indifferent

Amateur

Ambiguous (adj)

Amicable (adj)

Amnesia (noun)

Ample (adj) noun:amplitude

Amplify (v) noun: amplification

Anomalous (adj) noun : anomaly

Antique (noun)

Applaud (v)

Appraise (v) noun:appraisal

Appropriate (adj) noun:appropriateness

Arduous (adj) adv:arduously

Arraign (v) noun: arraignment

Arrogant (adj) noun: arrogance

Aspire (v) noun : aspiration

Assuage (v)

Astound (v) adj: astounding

Astray (adj)

Audacious (adj) noun : audacity

Audible (adj) noun: audibility

Augment (v)

Autonomous (adj) noun : autonomy

Avarice (noun ) adj: avaricious

Aversion (noun)

Leave a comment

Confirm password Jquery

$(document).ready(function() {
$('.error').hide();
$('.submit').click(function(event){
data=$('.password').val();
var len=data.length;
if(len<1)
{
$('.password').next().show();
}
else
{
$('.password').next().hide();
}
if($('.password').val() !=$('.confpass').val())
{
$('.confpass').next().show();
}
else
{
$('.confpass').next().hide();
}
event.preventDefault();
});
});

Leave a comment

Jquery json

$(document).ready(function(){

$(“li”).click(function(){

var data = $(this).html();

$.ajax({
type:”POST”,
data:”id=”+data,
url:”ajax.php”,
success:function(response){

var data = $.parseJSON(response);
$(“#name”).val(data.name);
$(“#mobile”).val(data.mobile);
}

} );

});
});

ajax.php

$response = array(‘name’ => $row[‘name’], ‘mobile’ => $row[‘mobile’]);

echo json_encode($response);

Leave a comment