Plese pardon me My english is not good
Hello Friends I have two pages on first page i am selecting items and on second page I am showing all the selected items after that onclick of button i am generating pdf, but after generating pdf i want to redirect on previous page(first page) I have tried with both javascript/php but its not working
window.print(); - To print pdf
<input type="submit" class="button" onClick="window.print();" id="btnPrint" name="check" value="Confirm">
please suggest something thanks in advance