Am trying to get information typed into a text field without refreshing the form. I want to do this because I want to build an app that relies on google maps, and sometimes google gets an attitude about how an address is typed in. So I just want this google map to update as the address is typed in.
A little jquery trick will do, something like:
<?php echo CHtml::textField('latitude', '', array('id' => 'latitude')); ?>
$('#latitude').change(function(e) {
$.ajax({
url: '......',
....other stuff...
)};
});