Skip to content

Instantly share code, notes, and snippets.

@Attaulla9
Last active December 29, 2021 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Attaulla9/807dfc39bb108d77f4d5cfaa817df01b to your computer and use it in GitHub Desktop.
Save Attaulla9/807dfc39bb108d77f4d5cfaa817df01b to your computer and use it in GitHub Desktop.
object set coookie for cross domain
var forData= {
"data_email":$("#data_email").val(),
"data_name":$("#data_name").val(),
"data_email":email,
"data_phone":phn,
"course":$("#course").val(),
}
document.cookie = "fordata="+JSON.stringify(forData)+";path=/;domain=.possible.in";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment