In the dialog box that appears, obtain the id value traversed in foreach and pass it to the address bar ., Foreachid
1. php sometimes needs to obtain the data (such as id) traversed in foreach in the dialog box, click the button in the dialog box, and pass it to the address bar to jump. So what should we do.
2. Click the "get now" button. If no password is set, click the pop-up box.
3. Click set to pass the user name to another page through the address bar.
4. Use the onclick event to pass the charge parameter to the function. Function is a pop-up function.
5. Pass the username value. Assign the herf attribute to "set.
6.
<Div class = "mask"> </div> <div class = "mess"> <div style = "text-align: left; height: 50px; line-height: 50px; background-color: # 3399CC "> <span style =" padding-left: 10px; display: block; font-size: 18px; "> prompt </span> </div> <div style =" width: 100%; height: 50px; line-height: 50px; font-size: 17px; margin-top: 10px; "> <span> the borrower has not set a transaction password, please set the transaction password and then get it </span> </div> <div style = "height: 100px; width: 100%; margin-top: 20px; text-align: center; "> <p> <a style =" width: 122px; height: 42px; line-height: 42px; background-color: # 1D8CBC; color: # FFF; display: inline-block; cursor: pointer; border-radius: 4px; text-align: center; margin-left: 180px; "class =" btn1 "> <span> set </span> </a> </p> </div>