By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,879 Members | 1,388 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,879 IT Pros & Developers. It's quick & easy.

Trying to clear the screen and adding the details

P: 2
I have two option as below
Ex 1.Apple


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
Apr 14 '15 #1
Share this Question
Share on Google+
3 Replies

Expert Mod 5K+
P: 8,639
1) what tabs?
2) innerHTML = ''
Apr 14 '15 #2

P: 2
i have 4 tab in screen " text box1,Textbox2,Txtbox3,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
Apr 14 '15 #3

Expert Mod 5K+
P: 8,639
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.
Apr 14 '15 #4

Post your reply

Sign in to post your reply or Sign up for a free account.