(BTW, this question is labelled as jQuery
but you're actually using just vanilla JS! No problem, of course, just letting you know!)
You're on the right track, for sure. I think you could probably handle it with setting a timeout and clearing it.
Car
@foreach (var car in Model.Car) { @* Where the #hidden list get its content *@
@car.Name
}