Ajax update related elements after input_in_place_editor_tag?

Notes and reports about symfony 1.0.x stable

Moderators: dwhittle, Ian

Ajax update related elements after input_in_place_editor_tag?

Postby jillelaine » Mon Nov 23, 2009 1:01 am

I've searched for a solution to this without success.

I have an input_in_place_editor_tag() to edit the Group name:
Code: Select all
echo input_in_place_editor_tag('name',
'main/editName?g='.$group->getId(),
array('cols' => 50, 'rows' => 1, 'save_text' => 'Save'));

It works well. But after an edit of the Group name, I want to update, via Javascript, two related elements on the page.

A perfect solution would be one that checks that the Group name has truly changed, and, if so, triggers a function that updates that other elements. There must be a clean way to do this with symfony?

Thank you for any help!
jillelaine
Faithful Member
 
Posts: 230
Joined: Sun Jan 06, 2008 10:45 pm
Location: West Coast

Return to symfony 1.0

Who is online

Users browsing this forum: No registered users and 3 guests