Jun 02, 2009, 7:11 AM
how to call javascript function that takes parameter and returns value???
Hi,
In coolite if i want to add a click handler in a button control i have to add a listener for that.
Now from example i have got an idea how to call a javascript function in coolite controls.
Now my question is that,
How can i call a javascript function that returns a value and the function also takes parameters.
The function like below,
funciton myFunction(obj)
{
// some checking
return true/false
}
Plz help me out ...kind of urgent...
In coolite if i want to add a click handler in a button control i have to add a listener for that.
Now from example i have got an idea how to call a javascript function in coolite controls.
Now my question is that,
How can i call a javascript function that returns a value and the function also takes parameters.
The function like below,
funciton myFunction(obj)
{
// some checking
return true/false
}
Plz help me out ...kind of urgent...