function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aditi Mohanty 5Aditi Mohanty 5 

how to create a submit button that will save the users details to account teams in lightning component and javascript

ShirishaShirisha (Salesforce Developers) 
Hi Aditi,

Greetings!

It is difficult to find the complete code as per your requirement.However,you can find the trigger code in the below thread to add the AccountTeamMember.

https://www.forcetalks.com/salesforce-topic/adding-account-team-member-on-account-object-in-salesforce/

Please mark it as best answer if it helps you to fix the issue.

Thank you!

Regards,
Shirisha Pathuri