I have a string that contains the following:
<form class="form"
data-action="Create"
data-entity="Topic"
data-href="/Admin/Contents/JsonCreate"
data-rowkey="007H"
data-partitionkey="0006000" id="form">
How can I get the values of data-rowkey and data-partitionkey from this string and put into javascript variables?
Please note my data is not part of a page. This is still data in a string.