how can i write data-plugin in "el" element in javascript?? 

html
----

```
<input type="text" data-plugin="datepicker" class="form-control" >

```

javascript
----------

```
  // right cell
  var cellRight = row.insertCell(1);
  var el = document.createElement('input');
  el.type = 'text';
  el.name = 'txtRow' + iteration;
  el.id = 'txtRow1' + iteration;
  el.style.width = "100%";
  el.style.border = "thin solid #E0E0E0";

 // how to put in data-plugin="datepicker" in el ? 

  el.onkeypress = keyPressTest;
  cellRight.appendChild(el);

```