jQuery – Multiple Selectors, Referring Page

Multiple Selectors

Just separate the selectors with commas.

$("#btnOK,#btnRetryCheckout,#btnDone").bind('click', function()
   { runState(EEvent.OK); });

Referring Page

To return to the referring page set the window location with the referring pages URL.

window.location.href = document.referrer;

Leave a Reply

Your email address will not be published. Required fields are marked *