xajax

xajax and select

I have a bit of simple created with XAJAX, which replaces the innner HTML of a select control with some options created by a php script. This is fine and dandy in Firefox, but it does not work in IE7. Looking on the XAJAX forums i found this which basically says " doesnt really work in IE, use a div and replace the inner HTML of that w...

How can I write a real time chat using XAJAX and PHP?

How can I write a real time chat using XAJAX and PHP? In other words, is there a way to send xajax responses from the server to multiple clients? Or is the only possibility to check for new messages every few seconds on client side? ...

performance of my application using wampserver

I have developed an application using php, mysql and xajax. I always used to test on a setup of which I had installed all applications seperately (apache, php and mysql) and my application was fast (by this I mean that the responsetime of useraction were very low). I recently removed apache, php and mysql and installed wampserver. From ...

DB generated list not working when created using jquery.

I have a simple form that has a list (dropdown list generated from a DB), when a user makes a selection, the selection is printed on the screen. The problem I'm having is that if I use jquery to call the php funciton that generates the list when the page is loading, the list will not work, but if I add the code directly in the html it wi...

How to get the value form a dropdown list using xajax.getFormValues?

I have a form and have several text box, and a dropdown list. I am using the following jquery code to get the values of my form // JQuery Code parentFormName = $(this).parents('form').attr('name'); xajax_addNewRecord( xajax.getFormValues(parentFormName) ); My php code looks something like this: protected function addNewRe...

jQuery Dynamic Binding not working IE 7 or 8

I'm working on a selection drop down list. this list adds all the selected elements (done by a user) into a container < DIV > in the form of hidden fields. This selections have a link that gives the user the option to remove it from the selection container. Every time a new selection is made, the code automatically binds a function that ...

Validating forms using XAJAX

I am using jQuery to identify when a user has submitted the form. Then I call, using xajax, a php method to query the database and make sure that the usename and email address are not already in use. $('#newUserForm').submit(function() { var FormName = $(this).attr('name'); xajax_validateEmailAddressAndUsername(xajax.getF...

Simplify my Jquery xajax like function

Basically I was trying to replicate one of the things that xajax gave me with Jquery -> The ability to define what my response modifies server side without setting anything up client side. Works perfectly as is, but each time I want to call a different Jquery function, I have to add it to my if statements. Each element in the response...

xajax - bad response when calling a static method

When using XAJAX I have a call to a function that trims a string. this is a simple function and works just as expected. Now I want to make this function available to the whole system so I have added it to a helper class as a static method. ever since I moved this function to this class I get a bad response, something like this. Erro...

exclude files from rewrite rule in .htaccess

I'm modifying an existing website that uses a fairly complex .htaccess file to implement a custom MVC type framework so all urls are redirected to index.php?[some parameters] or a 404 page. I'd like to add ajax support to a limited area of the site using XAJAX, and to implement that I need to place two files in the root which are ignore...

How can I integrate xajax with CakePHP?

Did anybody successfully integrate xajax with CakePHP? I've found 'Cakex plugin', but I'd like to hear some options. ...

Firefox 3.6 not displaying content - xajax, jquery, css

Hi, I know this question may sound vague, but I have been debugging (PHP and js) our application for a day now and have not found any issues in the data generation. Our application uses xajax to generate lists based on data that we have in our DB. we have a list in particular that works on every other browser: IE 7&8, Firefox 3.0.13(Lin...

xajax and codeigniter - blank page and xajax request URI error.

I am unfortunately getting a blank page when trying to run a site locally. There are other people running it locally just fine, so I am wondering if it could be something to do with my LAMP environment. When I attempt to load the site, it's nothing but a blank page. I've ran php index.php in console and the error I get is the following ...

How To Make An AJAX Request In a JS Popup?

Hi Everybody! I have a problem With a "Special" AJAX Request. I have a Form with several combos ("Select" tag). I'm loading the items for each combo from a MySQL DB, with a Special class designed for me. Each Combo has a "+" Button (For Open a Pop-Up and Add a new Entry). When the user "Saves" the new value, the AJAX request should run,...