div element containing data- fields
{"ScriptPreparationCode":null,"TestCases":[{"Name":"JS: write text","Code":"window.onload = function() {\r\n document.getElementById(\u0022data\u0022).dataset.txt = \u0022newtext\u0022;\r\n}","IsDeferred":false},{"Name":"JQuery: write text","Code":"window.onload = function() {\r\n $(\u0022#data\u0022).data(\u0022txt\u0022) = \u0022newtext\u0022;\r\n}","IsDeferred":false},{"Name":"JS: write int","Code":"window.onload = function() {\r\n document.getElementById(\u0022data\u0022).dataset.int = \u0022\u0022\u002B42;\r\n}","IsDeferred":false},{"Name":"JQuery: write int","Code":"window.onload = function() {\r\n $(\u0022#data\u0022).data(\u0022int\u0022) = 42;\r\n}","IsDeferred":false},{"Name":"JS: increment (r\u002Bw) int w/o parsing","Code":"window.onload = function() {\r\n document.getElementById(\u0022data\u0022).dataset.int = document.getElementById(\u0022data\u0022).dataset.int \u002B 10;\r\n}","IsDeferred":false},{"Name":"JQuery: increment (r\u002Bw) int w/o parsing","Code":"window.onload = function() {\r\n $(\u0022#data\u0022).data(\u0022int\u0022) = $(\u0022#data\u0022).data(\u0022int\u0022) \u002B 10;\r\n}","IsDeferred":false},{"Name":"JS: increment (r\u002Bw) int with parsing","Code":"window.onload = function() {\r\n document.getElementById(\u0022data\u0022).dataset.int = \u0022\u0022\u002B(Number.parseInt(document.getElementById(\u0022data\u0022).dataset.int) \u002B 1);\r\n}","IsDeferred":false}]}