try adding AjaxFormComponentUpdatingBehavior to your drop down
some thing like this
AjaxFormComponentUpdatingBehavior updateBehavior = new
AjaxFormComponentUpdatingBehavior("onchange")
{
private static final long serialVersionUID = 1L;
protected void onUpdate(AjaxReq
That's fine.
How to get the value of selected item in dropdown box?
Regards,
edi
Dipu Seminlal wrote:
>
> can you try target.addjavascript(javascript) or target.appendjavascript
> (javascript)
>
> regards
> Dipu
>
> On 7/13/07, Edi <[EMAIL PROTECTED]> wrote:
>>
>>
>> When onchange the DropD
can you try target.addjavascript(javascript) or target.appendjavascript
(javascript)
regards
Dipu
On 7/13/07, Edi <[EMAIL PROTECTED]> wrote:
When onchange the DropDown box, how can I call the javascript function?
for eg;
makes.add(new AjaxFormComponentUpdatingBehavior("onchange")
When onchange the DropDown box, how can I call the javascript function?
for eg;
makes.add(new AjaxFormComponentUpdatingBehavior("onchange")
{
protected void onUpdate(AjaxRequestTarget target)
{
target
On 7/13/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
On 7/13/07, Edi <[EMAIL PROTECTED]> wrote:
>
>
> Could you please explain in detail manner?
whats there to explain? in form.onsubmit or onchange event copy values
from your textarea/textfield to the appropriate hiddenfield element via
javas
On 7/13/07, Edi <[EMAIL PROTECTED]> wrote:
Could you please explain in detail manner?
whats there to explain? in form.onsubmit or onchange event copy values from
your textarea/textfield to the appropriate hiddenfield element via
javascript.
then when your form submits you can read the valu
Could you please explain in detail manner?
igor.vaynberg wrote:
>
> On 7/12/07, Edi <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi!
>>
>> I have one drop down like
>>
>> textboxtextarea
>>
>> in the above case, I have 2 items, 1.textbox 2.textarea.
>>
>> If I select textbox, text box should be displaye
On 7/12/07, Edi <[EMAIL PROTECTED]> wrote:
Hi!
I have one drop down like
textboxtextarea
in the above case, I have 2 items, 1.textbox 2.textarea.
If I select textbox, text box should be displayed below the combo box. If
I
select textarea, textarea should be displayed but textbox should be h
Hi!
I have one drop down like
textboxtextarea
in the above case, I have 2 items, 1.textbox 2.textarea.
If I select textbox, text box should be displayed below the combo box. If I
select textarea, textarea should be displayed but textbox should be hided.
If I did not select anything, both text