[jQuery] Re: Integration between different domains.

2009-11-17 Thread Josip Lazic
Take a look at this link, esspecialy part where cURL is mentioned
http://techrageo.us/2007/08/03/jquery-makes-ajax-easy-part-1/


[jQuery] Re: $.ajax and responsed value...

2009-11-07 Thread Josip Lazic
You could try return json encoded data from PHP, here's tutorial
http://www.prodevtips.com/2008/08/15/jquery-json-with-php-json_encode-and-json_decode/


[jQuery] Re: Realtime ajax response

2009-08-26 Thread Josip Lazic

On 25 kol, 11:31, bram  wrote:
> A more 'ajax approach' would be to resize your images individually as
> they are requested by the browser. ie: get rid of the loop in php and
> apply it in html/js.

That is not an option, for more than one reason :)

OK, is there a way to get semi realtime response using jQuery and PHP,
similar to using target='iframe'...?


[jQuery] Re: Realtime ajax response

2009-08-24 Thread Josip Lazic

On 24 kol, 15:22, Michael Lawson  wrote:
> http://sourceforge.net/projects/easyshoutbox/files/easyshoutbox/Easy_...

I don't think this is solution for my problem.

After form is submited server must copy&resize some pictures.
Sometimes it'll last several seconds, but sometimes much longer, so I
want user to know that script is not dead.

If I post response to iframe I can use something like this in post.php

ob_start();
foreach ($foo as $bar) {
resizeImage();
echo "Resizing image  $bar";
ob_flush;
flush();
}

This way user will get response everytime image get resized. Can I
achive this with ajax and div?


[jQuery] Realtime ajax response

2009-08-24 Thread Josip Lazic

Hi,

can jQuery display response from .post request in realtime?

I force buffer flush in PHP with ob_start, and ob_flush, I know that I
can set target='iframeID' to my form, but I need ajax and target
should be div.

Thanks


[jQuery] Re: Sync response in ajax forms

2009-03-30 Thread Josip Lazic

I don't think that is solution. I need realtime response, from php
script. Finding solution... Computing infi was just for example :)
Real output is a bit more informational

Resizing image 001.jpg...
Adding do db...
Resizing image 002.jpg...


And so on...

On Mar 30, 9:38 pm, James  wrote:
> Do a search on how to use the setTimeout() function. You can set a
> timeout on when each of the text will be displayed.
>
> On Mar 28, 9:41 am, Josip Lazic  wrote:
>
> > Is it possible to display response from ajax script err something
> > like this:
> > I call ajax.php and usually i takes few seconds to finish, and I would
> > like to update 'target' with something like text progressbar.
>
> > Finding solution
> > Coumputing infinity...
> > Talking with God...
> > Done.
>
> > Currently this response is shown all at once after script finish.


[jQuery] Sync response in ajax forms

2009-03-28 Thread Josip Lazic

Is it possible to display response from ajax script err something
like this:
I call ajax.php and usually i takes few seconds to finish, and I would
like to update 'target' with something like text progressbar.

Finding solution
Coumputing infinity...
Talking with God...
Done.

Currently this response is shown all at once after script finish.


[jQuery] Re: jQuery Uploader Flash player 10 fix

2008-11-20 Thread Josip Lazic

I found this jQuery+Flash uploader, as author say - I'ts quick and
dirty, but it gets job done.

http://www.prodevtips.com/2008/10/31/flash-10-and-jquery-multi-file-uploader/


And, yes it works with Flash10.


[jQuery] Tablesorter, sorting dates in format dd.m.yyyy

2008-11-05 Thread Josip Lazic

Is it possible to sort column with dates in dd.mm. format?