Rank: Newbie Groups: Member
Joined: 10/12/2011 Posts: 1
|
Hello.
I need to call, from the ClientSideOnChange event of a MaskedEdit control, a javascript function that requires 2 parameters. The control only allows to call the function without passing any parameter. Could you be so kind as to provide an example of how to achieve this?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, ClientSideOnChange is the name of the function you provide. You can call whatever code with whatever arguments in your handler. For example:
Code: HTML/ASPX
<eo:MaskedEdit ClientSideOnChange="change_handler" ...>
...
</eo:MaskedEdit>
Code: JavaScript
function change_handler()
{
any_of_your_function(arg1, arg2);
}
Hope this helps. Thanks!
|