[SOLVED]: Force a subsequent call to a Javascript routine from within the Action method processing of a submit
[SOLVED]: Force a subsequent call to a Javascript routine from within the Action method processing of a submit
- Subject: [SOLVED]: Force a subsequent call to a Javascript routine from within the Action method processing of a submit
- From: Baiss Eric Magnusson <email@hidden>
- Date: Fri, 15 Feb 2008 11:58:54 -0800
Thanks for the responses.
My Javascript was rusty, I had forgotten that the Body's <onLoad>
gets called every-time the page is refreshed.
I probably didn't notice that because there was an error in the
Javascript in setting the value of the <selectedIndex> from the
Hidden field.
On Feb 15, 2008, at 1:37 AM, Alexander Spohr wrote:
How about binding WOPopUpButton’s selection to the selected object?
Am 15.02.2008 um 08:53 schrieb Baiss Eric Magnusson:
I have a WOImageButton with an Action method which brings up an
editing pane.
I need to call Javascript to set the <selectedIndex> of one of the
WOPopupButtons in the editing pane, right now it always defaults
to zero.
The form has multiple submit buttons and each record shown on the
page has it own WOImageButton, clicking one of the image buttons
opens up that record for editing.
I know about hidden fields so I can get to the correct value of
the <selectedIndex> for that record from within a Javascript
function.
I already use <onLoad> from the <Body> tag to set up the
Javascript, but that only happens on page load. NOT.
----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden