<div dir="ltr"><font face="monospace, monospace">Thank you, Ziv, for reminding me of the function [fresh] to generate an [id] in Ur/Web. This may be what I needed to get the JavaScript code and the Ur/Web code talking to each other.</font><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">> Ziv wrote:</font></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><font face="monospace, monospace"><br></font></span></div><div><font face="monospace, monospace"><span style="color:rgb(0,0,0);white-space:pre-wrap">> The Ur/Web manual section on IDs (</span><a href="http://www.impredicative.com/ur/manual.pdf," style="white-space:pre-wrap">http://www.impredicative.com/ur/manual.pdf,</a> </font><span style="font-family:monospace,monospace;color:rgb(0,0,0);white-space:pre-wrap">section 8.6.2) specifies that [id] is an abstract type, with the only way </span><span style="font-family:monospace,monospace;color:rgb(0,0,0);white-space:pre-wrap">to generate them being [fresh : transaction id]. It also makes clear that </span><span style="font-family:monospace,monospace;color:rgb(0,0,0);white-space:pre-wrap">there's no way to force the ID to be something in particular.</span></div></div>