JQuery Date in Data Channel
I need to use a date selected in a tracker in a data channel. I found this code on the Data Channel documentation page, but it only shows examples for text and drop down fields.
Is there a way to convert this code to pull data from a date select box?
$("selectname='ins_6'").bind('change', function() {
valeur=$(this).find("option:selected").val(); // This is the syntax for drop-down fields
$("inputname='Country'").val(valeur);
});