Hi Josh,
This works and make code simpler, the only difference is, when u scroll to
the bottom of page and do a drag & drop, the browser will display the page
from the beg, so you have to scroll down again, not like the ajax call
first, then window.location.reload(), page remains in the same plac
Hey Angelo,
I'm not a jQuery user, so I'm guessing that if updateProc is the
actionLink, then are you passing source and dest as query parameters?
You just need to append them to the actionLink url, right?
// this is off the top of my head, not tested, assumes no query params
already on the actio
You mean updateProc() calls the actionlink via AJAX? Apart from
usability, the problem of not using a form or any other 'natural' way
for the user to submit the data is that you leave no chance for T5 to
build the link for you. This means you'd have to construct it manually.
If it were a request th
Hi Josh,
would like to try this out, but how to pass parameters ? here is my code,
updateProc is action link
jQuery(".drop").droppable({
accept: ".block",
activeClass: 'droppable-active',
hoverClass: 'droppable-hover',
drop: function(ev, ui) {
Hi Angelo,
If you aren't using a form, then it sounds like you have an actionlink
that you invoke from the drop handler using AJAX? Why not just point
window.location at the actionlink url instead and only do the request
to the server once?
Josh
On Mon, Mar 10, 2008 at 4:33 PM, Angelo Chen <[EMA
Hi Chris,
It's part of drag and drop operation, when item was dropped, jQuery triggers
a call, inside the call I updated the display order of items in the page,
then refresh the page to reflect the changes made, there is no form.
Chris Lewis-6 wrote:
>
> Forgive me if I'm missing something ob
Forgive me if I'm missing something obvious here, but what's the point
in doing an ajax operation if you're going to refresh the entire page
when it returns? Why not just use a classic form?
Angelo Chen wrote:
> window.location.reload(true) works, but reloading seems slow, is there any
> way to si
window.location.reload(true) works, but reloading seems slow, is there any
way to simulate a click in the javascript?
Refresh
then in jQuery, I did:
jQuery("#refresh").click();
it does not trigger the actionLink.
A.C.
bobpuley wrote:
>
> StreamResponse return type
>
> M.
>
> 2008/3/9, Ange
Hi,
Thanks for the fast response! in my ajax call I updated some entities, I
can't obtain the streamresponse in the javascript, I need just refresh the
page. any idea?
A.C.
bobpuley wrote:
>
> StreamResponse return type
>
> M.
>
> 2008/3/9, Angelo Chen <[EMAIL PROTECTED]>:
>>
>>
>> Hi,
>>
>
StreamResponse return type
M.
2008/3/9, Angelo Chen <[EMAIL PROTECTED]>:
>
>
> Hi,
>
> I use a javascript(jQuery) to do an ajax call to an onActionFromXXX method
> in the page class, I'd like to refresh the page after the call, any idea
> how
> to do that inside a javascript? or just any other wa
10 matches
Mail list logo