April 13, 2024 at 4:47 am
#10044671
Participant
I just dont what the val is that you included. Here is mine attempt with their naming and me changing my fields in the form to match.
(I left out the Promo/Group Code – as that is suppose to be a string and I am lost on that one)
window.location = “https://BOOKINGSITE.com/search-results/” + $(‘#Checkin-Date’).val().replace(‘/’, ”).replace(‘/’, ”) + “/” + $(‘#Checkout-Date’).val().replace(‘/’, ”).replace(‘/’, ”) + “/” + $(‘#adultsCount’) + “/” + $(‘#childrenCount’) “;
So should I also add .val()
Like this maybe …
+ $(‘#adultsCount’).val() + “/” + $(‘#childrenCount’).val()