[Ur] An initial wild guess attempting to wrap a Bootstrap DatePicker for Ur/Web

Timothy Beyer beyert at fastmail.net
Sun Aug 2 17:52:59 EDT 2015


At Sun, 2 Aug 2015 01:06:48 -0300,
Stefan Scott Alexander wrote:
> but the compiler gives errors complaining about this id in this tag.
> 
> This datepicker library uses an id tag in the <div> enclosing the <input> tag. Is there a way
> to set an id tag for a <div> in Ur/Web?

Yes, it is very common to set an id attribute for a div element, especially
when using jQuery.

A common AJAX idiom in Javascript is to set id or class attributes for various
elements, then send targeted HTML to those elements at runtime, based on user
input.

Regards,
Tim



More information about the Ur mailing list