Trying to clear the screen and adding the details

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • VIJAY941
    New Member
    • Apr 2015
    • 2

    Trying to clear the screen and adding the details

    I have two option as below
    Ex 1.Apple
    2.Mango

    query

    1 if i toggle any of the value i.e Apple or mango the screen should clear the previous details which entered.


    2 If i select Apple only one tab should enable if i select Mango all the tab should enable

    pls help me
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    1) what tabs?
    2) innerHTML = ''

    Comment

    • VIJAY941
      New Member
      • Apr 2015
      • 2

      #3
      i have 4 tab in screen " text box1,Textbox2,T xtbox3,txtbox4 "
      so to be clear.. in txtbox1 i have select option "Apple & mango" if i select apple1 txtbox2 should enable , 3 & 4 should disable
      if i select mango all txtbox should enable

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        put a change event handler on textbox 1. if the value is "Apple" disable (set the disabled property to true) textbox 3 & 4. if the value is "Mango" enable textbox 3 & 4.

        Comment

        Working...