We are using JavaScript constructor class to set data attribute values for ajax call
Below is the code snippet
Constructor class return empty hash in some browsers
We are using JavaScript constructor class to set data attribute values for ajax call.