How to insert jquery booking call in iFrame?

Hi,

I cannot get the following call to a booking system to work in an iFrame. Nothing appears. Can someone point me in the right direction?

I’ve tried many variants, including putting the header xmlcal.com call in the header using tracking and analytics, and even creating a in the iFrame itself. Nothing works. (I’ve changed the propid to something random.)

Thanks,

jQuery(document).ready(function() { jQuery('#bookWidget-62719-112009-0-1593411536').bookWidget({ propid:999999, availableColor:'#424243', availableBackgroundColor:'#ffffff', buttonBackgroundColor:'#424243', buttonColor:'#ffffff', buttonTitle:'REQUEST BOOKING', formAction:'https://manage.bookingautomation.com/booking.php', fontSize:'11px', pastBackgroundColor:'#808872', pastColor:'#808872', peopleSelection:2, requestColor:'#ffffff', requestBackgroundColor:'#424243', showLabels:true, unavailableColor:'#808872', unavailableBackgroundColor:'#808872', widgetLang:'en', widgetType:'BookingStrip' });

The Wix Bookings app will provide a much cleaner and seamless user experience and will be easier to maintain and manage.

If you want or need to use the service you asked about in your post, adding code to an HTML component is not a part of the Corvid product (which is what this forum is about). The basics of an HTML component is to put any HTML code in it. That code can be copied from any source that you want, but you need to know the exact code to put there (which is not related to Corvid )… You will need to check with the service provider to find out how to get it work.

Thanks. Booking Automation is our service of choice for reasons I won’t go into here.

Sorry, I don’t quite understand your second paragraph. I’ve seen other people ask very similar questions about jQuery and iFrame on this forum.

The code above IS what needs to go into Wix. It’s been tested on WordPress and works fine (with the 1st section put into the page header and the rest in the body).

Can you suggest where I should post this question?

Thanks,

Wix can’t supply support for the script that you want. You will need to check with the Booking Automation technical support for help on getting this script to work with Wix.

Perhaps users on the forum will be able to help. However, most Wix users will opt to use the more accessible Wix Bookings .

Thanks but I’m not asking Wix for support, and I’m not moving to Wix Bookings. I’m asking the user community.

I’ve seen some references to Wix having their own functions similar to jQuery so maybe this can be ported over to the Wix equivalent function calls?

A more secure way to handle web service requests is by using backend (server-side) code. Using backend code you can secure your passwords, API keys, and other secret information. The article Accessing 3rd Party Services explains how this is done. I recommend checking with the service provider to see if they provide a REST interface.

See the Booking Automation API docs for full information on their API.

Hello, I would like to ask if you managed to get it working, we have a similar issue and Wix Bookings is not an option for us as it doesn’t work as we need.