Since this is the correct syntax, I would start looking elsewhere, what is bookingFormDiv, is it server control (runat = server) with id bookingFormDiv?
change
realized that this is inside the server-side control (asp: Button), so you cannot use this syntax, the correct answer is correct.
source share