How do I store 2 parameters with JQuery.data() How do I store 2 parameters with JQuery.data() ajax ajax

How do I store 2 parameters with JQuery.data()


.data() is what I would use. You can do:

$(header).data({"col":"DATA", "sort":"OTHERDATA"});

or

$(header).data("col","DATA");$(header).data("sort","OTHERDATA");