|
oh, the reason i put that section of the codes is to create a pop up message window to ask the user whether they want to confirm publish. So if r is true then it will submit the form, which is when we click ok at the pop up window. Otherwise, if user clicks cancel, the check is false and nothing will happen.
|