Questions tagged with ajax

0 answers

0 votes

Asked by tibit, on 23/3/10 in

Ajax and custom layout problems

Hi ,

I have made a custom layout with header, footer and a let menu element, all those elements are included in my app_layout.

On almost every page it works great with $this-layout = 'app_layout';

But on pages where i have ajax (observe fields ) ,...

0 answers

0 votes

Asked by sijukalikatt, on 22/5/10 in

ajax checkboxes

Hi all,

I have a form with different types of fields.

some check boxes for choosing districts, place, name etc........

All are in one big form..

I want to make it more user friendly.

What I want is:

When a user select a district, only corresponding...

1 answer

0 votes

Asked by jamesl, on 18/1/10 in

ajax drop down habtm

Hi,

Does anyone know how to dynamically populate drop downs that use a HABTM relationship?

0 answers

0 votes

Asked by alscheuring, on 3/2/10 in

Ajax editor onFailure usage

Hi,

I have a system that collects information using the Ajax Editor textboxes. It works fine unless the person lets the page sit for a while and their Auth session ends. They are logged out and don't know it, then try to use the boxes which appear...

1 answer

0 votes

Asked by Matt, 2 weeks, 4 days ago in

Ajax file upload

Hello, I have a file upload form that works but I wanted to change it to Ajax. The code 'worked' in the sense that the ajax spinner appeared and the form submitted, but the actual file information was not passed to the controller. Instead it...

0 answers

0 votes

Asked by jameslivsey, 3 weeks, 2 days ago in

AJAX filters

Hi,

I'm trying to incorporate some filtering in my index view. I have previously used prototype to filter information in an add form where the user selects one value in a drop down and the next drop down alters in response. I was hoping to apply...

2 answers

0 votes

Asked by oddler, on 18/12/09 in

Ajax function only works once after 2nd try it reloads page

How do i overcome this problem??

Tried googling but no avail anyone here can help me?

0 answers

0 votes

Asked by illum, on 5/4/10 in

Ajax observeField not working in cake 1.3RC2

/ UPDATE 2 /

So I narrowed it down to the Security component, if I have it turned on then ajax doesn't work. If I turn it off, it does. Not sure why yet, looking in to it.

/ END UPDATE 2/

/ UPDATE /

I tested this with a fresh app, and it appears to...

1 answer

0 votes

Asked by http, on 26/1/10 in

Ajax observeField.

Hey folks,

I'm seriously don't know what to do anymore.. so I thought I just ask for your help.

I've got a dropdown box, and want to update a div, when the value in the dropdown changes.

So here my code:


echo $form->create('Add');
echo...

0 answers

0 votes

Asked by DarthMax, on 14/6/10 in

Ajax Pagination - Reload only a part of the view

Hi,

I just have a Problem with the paginatorHelper.

I want to use Ajax pagination. But currently I can only reload the whole view again instead of only a specific part of it (only the the blog with the paginated data should be reloaded, not the...

1 answer

0 votes

Asked by davidcroda, on 29/11/09 in

Ajax Pagination CakePHP 1.3

I am wondering how to specify you want ajax pagination in the CakePHP 1.3 core.

this is my current $paginator array which properly performs Ajax pagination on the 1.2 core. On the 1.3 it just creates a normal link.


$paginator->options(array(
   ...

1 answer

0 votes

Asked by Matt, on 14/4/10 in

Ajax pagination how to hide main div

I am working with Ajax pagination and it works well, but I'm wondering if there is a way to hide the 'update' div when the 'indicator' div is visible. I'm thinking I could write a javascript to show or hide my div and call that at the...

1 answer

0 votes

Asked by ABCoder, on 8/2/10 in

Ajax pagination using JSON data

Cake has default ajax pagination feature, but the output is in html which is not a good idea and huge amount of data transfer.

I want to use JSON to reduce data transfer. Is there any "ready-made" stuff for pagination using json (and jQuery).

1 answer

0 votes

Asked by laurentk, on 18/12/09 in

Ajax reload of an element from a call within the element itself

Hi,

I'm trying to do something that seems pretty trivial, but can't find the solution...

I have a comment element that displays comments and a form to add a new one.

How it's done right now: I pickup the form submit from jQuery, launch the function...

2 answers

2 votes

Asked by mmhan.blogspot.com, on 4/12/09 in

Ajax Request

How do I know if a request was made from ajax or it was a normal web request?

I just wanted to block off the view, if it wasn't an ajax request.

0 answers

0 votes

Asked by pastryking, 1 week, 5 days ago in

Ajax submit not working at all (no reaction on click)

Hi

I am creating an ajax comment element. I have a comment box that when you type in it and hit the submit (in my case comment) button nothing seems to happen, its like there is no code behind the button. I have no idea why this is happening...

0 answers

0 votes

Asked by sijukalikatt, on 22/4/10 in

Ajax through select box

Hi all,

I am in a trouble in using ajax with select boxes...

There is a list countries in the web page, and when i click a country, another div which contains the user details should be updated...

I could update a div with an ajax link with out any...

1 answer

0 votes

Asked by dimis283, 3 weeks, 5 days ago in

ajax update

I want to update a div of my page with ajax.

I want to ask is cake has his way to set the css for this ajax request .

I ask this because I convert this site form another framework and the ajax code is ready.

1 answer

0 votes

Asked by pastryking, on 17/6/10 in

Ajax view problem (nothing in the view showing)

I created a function in my controller called addToPlaylist($songName). I wanted to add these song names to an array and then a session variable using an Ajax call. The first time i did this i got an error saying i do not have a template file to...

1 answer

0 votes

Asked by Matt, on 10/5/10 in

Auto submit of ajax form with select

Another ajax question. If I'm using an ajax form that has a select in it, how do I make a change in the select cause the form to submit? I tried just passing the option 'onChange'='this.form.submit();' and also 'onChange'='event.returnValue =...

<< previous 1   2   3