the DOM its not part of the "vanilla" js engine.. could'nt you just
use the developer console of chrome?

On Tue, Jun 21, 2011 at 4:16 PM, Marcel Laverdet <[email protected]> wrote:
> 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

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to