struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpan Debroy" <arpan.deb...@gmail.com>
Subject Re: using disabled attributes in <s:submit> tag
Date Mon, 11 Feb 2008 09:29:07 GMT
In IE browser read only buttons are not grayed up. Have anybody faced this?

On Feb 9, 2008 1:03 PM, Arpan Debroy <arpan.debroy@gmail.com> wrote:

> I have a problem in Internet Explorer. The disabled elements are not
> grayed up.
> Have anybody faced the similar situation.
>
>
> On Feb 8, 2008 7:46 PM, Okan Özeren <okanozeren@gmail.com> wrote:
>
> > Hi,
> >
> > This is a bug for old version of strust 2, but fixed on 2.0.8 version.
> >
> > You should create a solution with javascript. Presumably your js
> > function is
> > wrong.
> > Probably your tag name is wrong. You should look its source code on
> > browser
> > for tags real name.
> >
> > Okan.
> >
> > On Feb 8, 2008 3:32 PM, Johnson nickel <saravanan@elogic.co.in> wrote:
> >
> > >
> > > Hi all,
> > >
> > >           How to use enable and disable attributes in <s:submit
> > > value="save" method="save" name="savebutton" disabled="true"> but it's
> > not
> > > working.
> > >
> > >   what wrong with this, i tried onclick event using html  drop down
> > > <select name="user_id"  size="9"  STYLE="width:-300px" align="left"
> > > onclick="javascript:enable();"> .
> > >
> > >  // Javascript function
> > >
> > >  function enable()
> > > {
> > >  formname.savebutton.disabled="true"
> > > }
> > >
> > >    Give me a suggestion for this problem.
> > >
> > > Regards,
> > > Johnson
> > > --
> > > View this message in context:
> > >
> > http://www.nabble.com/using-disabled-attributes-in-%3Cs%3Asubmit%3E-tag-tp15355261p15355261.html
> > > Sent from the Struts - User mailing list archive at Nabble.com.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
>
>
>
>


-- 
Thanks & Regards
 Arpan Debroy

AOL Online India Private Ltd
RMZ EcoSpace Campus 1A
Outer Ring Road, Bellandur,
Bangalore - 560037
India
Mobile No :+9886006306
on-board :+91 (80) 4035 4528
E-mail : arpan.debroy@corp.aol.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message