Daniel Martos wrote:placeOrder() is a function that I used to store arrays. I need to create a window.confirm box that calls that function.
That is different than what you are doing now. In your example, you are calling confirm from within the
placeOrder() function. Are you thinking something like this?: