Button's Click with QueryString

Button's Click with QueryString

Hi,

I have:

  1. <button id="btnMyStaffLeaves">Leaves</button>
in my staff_details.php

I want to know how can I redirect when click to staff_leave.php?id=xxxx

where xxx is the QueryString  ID of the current page ( staff_details.php?id=xxx).


Thanks,
Jassim