Click here to Skip to main content
15,920,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I have a



<input type="text" />

and select box

when i click on option in select box, i want to add input type text in last , in div id="GetForAll[1]"

how to do this

regards
maulik
Posted
Comments
Karthik_Mahalingam 11-Dec-13 1:04am    
Not Clear,
Please add more info to your question..
post some code piece.
maulikshah1990 11-Dec-13 1:06am    
ok..
currently i have

<div id="GetAllFor[1]" class="AgeAll">
<input id="Childid" type="text" name="Childid[]"></input>
</div>

and on select box , when user click option 2 , i want to add <input id="Childid" type="text" name="Childid[]"></input> inside <div id="GetAllFor[1]" class="AgeAll">

i hope this is clear
maulikshah1990 11-Dec-13 1:09am    
ok..thanks ..got the soln ..
i just change id="GetAllFor[1]" with id="GotAllFor_1"

and this works
Karthik_Mahalingam 11-Dec-13 1:14am    
fine :)
I have added one answer, please accept so that question will be closed.

Thanks,
Tadit

1 solution

By OP...
Quote:
ok..thanks ..got the soln ..
i just change id="GetAllFor[1]" with id="GotAllFor_1"

and this works
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900