MVC5
I am working on a create view for personal details It contains name, address, email, username, password, mobile. But there is a button near mobile field, when we press that
button it adds a new textbox for more mobile numbers. I used jquery for that functionality. But, how to insert that mobile numbers in mobile table with foreign key references master user table. Can you please send me code to insert it in database.
Thanks
What I have tried:
I tried that I have dynamically created textboxes on click of add button and set ids of these textboxes using jquery. But how to access that ids I am not getting any solution for inserting that data into database.