• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Disable fields

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am trying to disable textarea and a list of select boxes in my application by setting disabled attribute of textarea and select boxes to true.This works fine in Internet Explorer browser.But,I am encountering some problems while using Netsacpe browser.The fields do not get disabled at all.What may be the problem?Please provide a solution to this problem.
Waiting for a positive response.Thanx in advance.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shashi,
What version of Netscape are you using? NS 4.7 doesn't support disabling fields. NS 6 and above support this feature.
 
Shashi Iyyanar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jeanne Boyarsky:
Shashi,
What version of Netscape are you using? NS 4.7 doesn't support disabling fields. NS 6 and above support this feature.

 
Shashi Iyyanar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Sorry for the earlier blank reply.I am developing a Struts-based application and the problem lies in disabling Struts components such as <html:textarea> and <html:select> in Netscape 4.7.Is there any workaround for this problem in Netscape 4.7?Please reply ASAP.Thanx in advance.
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Shashi,
<TEXTAREA NAME="kirti" ROWS="" COLS="" onFocus="this.blur();">asdasdad</TEXTAREA>
<html:SELECT NAME="" onFocus="kirti.focus();" onChange="kirti.focus();">
<option>1</option>
<option>2</option>
</html:SELECT>
hope this shud work
pls try this out with different verions of IE and Netscape...also u cud even show these fields in a different colour (probably grey) to indicate to the user that they are disabled.
 
Have you no shame? Have you no decency? Have you no tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic