Re: Updating the html page from activeX dll
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: Updating the html page from activeX dll

From: RobG <rgqld@iinet.net.auau>
Date: Mon Aug 15 2005 - 04:20:25 CEST

vanisathish@gmail.com wrote:
> Hi,
> Currently we are updating the html page contents, some text boxes using
> javascript. Is it possible to update the same from am activeX dll.

Yes, but it will work only in IE on Windows and only if appropriate
security permissions have set. If your target is an intranet that fits
the bill, then fine but a dependency on ActiveX is not really suitable
for the general web.

>
> And in javascript, will there be any impact on performance if i send
> large name=value pairs and then using the split function and assign to
> appropriate text boxes.

split() should not be the source of any performance issues, most string
functions are very fast. Accessing document elements and modifying them
will likely be a much more significant performance factor.

There are many ways to skin a cat - your name/value pairs could be
object properties, array elements or just a character-delimited string
(e.g. comma separated values). Which one is 'best' very much depends on
your requirements. Have a look at JSON:

    <URL:http://www.crockford.com/JSON/index.html>

-- 
Rob
Received on Mon Oct 24 02:14:07 2005