Please look into "jsdom": https://github.com/tmpvar/jsdom
On Wed, Jun 22, 2011 at 4:11 AM, Chinnu <[email protected]> wrote: > Hi, > > Is it possible to compile and run a script in JQuery syntax in V8 > engine? For example, can we run something like the following in V8? > > $(document).ready(function() { > > $('body').append('<iframe src="http://sampleurl.com"></ > iframe>'); > }); > > > I'm interested in getting the iframe source above. I have a program > that hooks into V8 to handle some DOM callbacks (like document.write, > etc.). I was wondering if it would be possible to handle the JQuery > syntax. > > Please suggest. > > Thank you, > Ravi > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
