Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9236241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:14:40+00:00 2026-06-18T07:14:40+00:00

I have setup a booking engine for a booking engine which uses a POST

  • 0

I have setup a booking engine for a booking engine which uses a POST method – I have used a XDate library (which works great) my issue is that the booking engine should display the new page from the booking engine website after doing the POST.

I’ve added a jsbin link that illustrates the code
http://jsbin.com/ikowuk/1/

I am trying to implement the synxis booking engine similar to this site (albeit using jQuery)
http://www.stoneaston.co.uk/

function booking_engine(bookingObj)
{
  $.post('https://gc.synxis.com/rez.aspx', {
    'Chain': bookingObj.chain_id,
    'lang': '1',
    'locale': 'en-GB',
    'step': '1',
    'altdest': 'Country',
    'Hotel': bookingObj.booking_id,
    'arrive': bookingObj.start_date.uk_date,
    'depart': bookingObj.end_date.uk_date,
    'adult': bookingObj.adults,
    'child': bookingObj.child,
    'rooms': bookingObj.rooms
  }, function(data) {
    console.log(data);
  });
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T07:14:41+00:00Added an answer on June 18, 2026 at 7:14 am

    As per my comment, just an option: you could make a form with the hidden attribute set.

    <form id="form1" action="https://gc.synxis.com/rez.aspx" method="POST" style="display: none;"><input id="submit" type="submit" value="Submit"></form>
    (or alternative to hide)


    Then, instead of performing a jQuery $.post(), you could set the hidden elements of the form to the values you wish to post. So, for your example, one of the hidden elements added to the form could be:

    $('#form1').append('<input name="booking_id" type="text" value="'+bookingObj.booking_id+'">');

    Once you’ve created all your hidden elements and appended them to the hidden form, you submit that form:

    $('#submit').trigger('click');


    Once you trigger that click, all your data is then posted to your rez.aspx page and you also “go along with it”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have virtual hosts setup on my laptop, which I know work fine as
I have setup a resque background job that queries the slave database instead of
Having a weird issue. I'm new to Macs and have a windows VM that
I have setup a basic WCF client/server which are communicating via Named pipes. It
I have setup my project in SVN to use an external library. When I
I have managed to setup a page so that a user clicks an item
I have setup a basic test app that displays a view containing a label,
I have setup a settings bundle and can successfully pull data from that. I
I have setup a cronjob to remove a file that is being generated by
i have setup tinymce in a webpage for users to generate html data that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.