<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.1.92">
</HEAD>
<BODY>
<BR>
Il giorno lun, 27/02/2012 alle 16.09 +0100, Adam D. Ruppe ha scritto:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Monday, 27 February 2012 at 09:46:51 UTC, Andrea Fontana wrote:
> Can you call custom (external, from 3rd party libs)
> JS functions from there?

Yes, just make:

extern(js) void function_name_here(...);
</PRE>
</BLOCKQUOTE>
<BR>
Good!<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>

and you can call it. For jQuery, you'd probably want
to define an extern(js) class JQuery {} with all its method
names. Since so many of them take strings, I think this would
actually be somewhat easy.
</PRE>
</BLOCKQUOTE>
<PRE>

</PRE>
About jquery: i mean what about a d function similar to  $() jquery function for better elements handling (instead of getElementById() )<BR>
<BR>
<BR>
</BODY>
</HTML>