jQuery UI Autocomplete not working with codeigniter

I’m trying to get a field on my view to autocomplete with values from a database but can’t seem to figure out what is going wrong….In my view I have the following script:$(document).ready(function()...

showing image loaded from file before upload/POST

I have the following html code to upload an image:and I want to show the image that the user uploads before it’s actually processed in the backend. How do I do this?Basically what I want to do is...

While loop won’t end when I tell it in JavaScript

var hasData = ’1′; while (hasData != 0) $.ajax( url: ‘/ajax.php?updateRow=’+hasData, dataType: ‘json’, async: false, success: function(data) hasData = data.next;...

Clean Ajax controller implementation in Zend Framework

I need a controller in my Zend Framework project, which should handle only ajax requests.My approach at the moment is to extend the Zend_Controller_Action:class Ht_Ajax_Controller extends Zend_Controller_Action...

Triggered PHP processing

I ask a similar question yesterday but it all got confusing and i thought i would start again and try and explain it a bit better..I am about to design an auction site, much the same as ebay… items...