I want to make one application using javacript or may be it is in ajax.
Let me explain my problem:
I have one select box name person which have value 0,1,2,3,4,5 . Now i want that when user will select value 1 from select box then person 1 first name , last name input type box will appear only one time in a row.
and if we will select 2 from select box then two row will appear naming person1 and person2 like this :
if we will not select any value by default is 0.then it will not show any row regarding person.
if we will select 3 from select box , then three row will disappear like this
person1 firstname1 lastname1 class1 section1
person2 firstname2 lastname2 class2 section2
person2 firstname3 lastname3 class3 section3
Please help me to solve this problem . How it can be.