I need to link to an external page that contains a list of order numbers. The orders on this external page are loaded via AJAX when an order number has been clicked.
The external URL is like http://www.example.com/orders
. The Javascript on the external page is: javascript:load_order('XYZ')
. As the order is then loaded via AJAX. There is no url change to call that order directly.
How can I call the order (AJAX loaded trough JS) directly? I have no access to the external page.
I tried the following:
echo '<a target="_blank" href=https://www.example.com/orders/javascript:load_order('$ordernr[0]')'>'.$tracking_box.'</a>';