Originally Posted by
More Champagne Sir?
This URL will get you directly into the details of your booking:
Nice, thanks
Which means I can do the following & still have my buttons
Code:
<script language="javascript" type="text/javascript">
function cmturl(pnr)
{
var surname = "?????????"; // fill in your surname here
return "http://www.checkmytrip.net/cmtservlet?" +
"R=" + pnr + "&" +
"L=GB&" +
"N=" + surname;
}
</script>
...
<!-- copy this section to create a button for each PNR. Replace the "??????" with the actual PNR -->
<form method="post" action="" onsubmit="this.action=cmturl(this.submit.value)">
<input type="submit" name="submit" value="??????">
</form>