What is the proper syntax to pass a value into a purchase event?



I have the following script in custom code, where I am trying to pass a value to the purchase event variable.. but I am not having any luck. Any suggestions?

$("input[name='loanAmount']").mouseleave(function(){ var loanAmount = $("input[name='loanAmount']").val(); if (loanAmount.length){ s.events= "purchase=" +loanAmount;} else { return false} });

Thanks for your help

Accepted Solutions (1)

Accepted Solutions (1)

Answers (0)