Assuming you have an event handler written for the "ontextchanged" event of
the textbox, why don't you just call it directly?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
[url]http://www.takempis.com[/url]
Complex things are made up of
lots of simple things.

"s.d" <snob_d@yahoo.com> wrote in message
news:0c8a01c3576d$d4d3d4d0$a501280a@phx.gbl...
> Hi,
>
> How can i raise an event programatically in jscript.
>
> For example i could raise onfocus event by setting focus
> to text box :
> txtbox.focus();
> But i could not raise ontextchanged event by setting a
> value to text box
> txtbox.value="any value";
>
> How can i raise ontextchanged event programatically.
>
> Thanks
>
>