Hi
i am using ajax to allow the user to edit lines of the page using a
pop up page. Upon return, Ajax.Updater is called to refresh the part
that has changed - identified using a <div> header. Unfortunately, it
goes to the top of the page at this point, so the user loses his
place.
here is my javascript code:
function ajax_edit_possible_user(id)
{
window.showModalDialog('<?=$staging_url?>/qms/
ajax_edit_possible_user.php?id='+id,'name','height=600,width=900');
Ajax_Update();
}
function Ajax_Update()
{
//alert ("Ajax_Update");
var url='<?=$staging_url?>/qms/ajax_user_list_div.php';
var divHdr="user_list_div";
var myAjax=new Ajax.Updater
(
divHdr,
url
)
}
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.