va*********@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