[Ur] DatePicker?

Timothy Beyer beyert at fastmail.net
Sun Aug 2 17:40:06 EDT 2015


At Sat, 1 Aug 2015 23:19:09 -0300,
Stefan Scott Alexander wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; UTF-8 (7bit)>]
> 
> [1.2  <text/html; UTF-8 (quoted-printable)>]
> I haven't understood how to use a JQuery library with Ur/Web because most JQuery library
> demos (just the demo, with no involvement with Ur/Web) tend to have a call to $... on their
> index.html page, and I couldn't figure out how to make that call to $... from Ur/Web.
> 
> Now, looking at Edward Z. Yang's Logitext, I see this line:
> 
> https://github.com/ezyang/logitext/blob/master/js.urp#L11
> 
>   script http://localhost/logitext/ffi.js
> 
> And ffi.js does call $...:

The $("...") notation typically means that it is using jQuery to refer to a DOM
element (a method call on that element, in most cases):

  *  # is the HTML "id" attribute
  *  . is the HTML "class" attribute

Regards,
Tim



More information about the Ur mailing list