By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,576 Members | 1,439 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,576 IT Pros & Developers. It's quick & easy.

Please explain me, what the following javascript does?

P: 2

I have a javascript with the following code:

document.write("<object id='IMS' width=0 height=0 classid='CLSID:8246AC2B-4733-4964-A744-4BE60C6731D4' codebase='"+caburl+"#version="+cabver+"' style='display:none'></object>");

From the above lines, I can understand that the first line specifies the location of cab file. Second Line specifies the cab file version.

Can anyone please explain me, what the third line does..which starts with Document.Write....

I dont have any knowledge of Javascript and want to convert the task performed by this javascript into my exe file.

Expecting a quick and positive response.
May 1 '11 #1
Share this Question
Share on Google+
3 Replies

P: 1,059
There three javascript line

two of them are statements and the third line print text on the current document. and ofcoruse erasing all the data.
May 1 '11 #2

P: 2
Could you please explain me, what text is it writing. As per my understanding, it runs a cab file
May 2 '11 #3

P: 18
It does nothing but print the text.

Are you trying to create an object and append to the page or something?
May 2 '11 #4

Post your reply

Sign in to post your reply or Sign up for a free account.