Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, I'm working on a page that allow the user to add student name in the textbox and display the name on the table rightaway.

Hello, I'm working on a page that allow the user to add student name in the textbox and display the name on the table rightaway. the user can add up to 3 names. I tried to store in array and display. this page is angular Typescript. NOTE:******Typescript and it not Java Script*******

This is my code

export class names implements OnInit { //the array size is 3 names:any=new Array(3)

ngOnInit():void{

}

//when user click add button addnames(name:string){ this.names.push(name) } }

//HTML file

Student Names

Student name

//when the user type in to textbox I want to display rightawy on the table

image text in transcribed

image text in transcribed

Add Student Names

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions

Question

2 The main characteristics of the market system.

Answered: 1 week ago