Can any one tell me how to call JavaScript function from jquery.
Jquery:
$(document).ready(function()
{
$('.email2Class').bind("cut copy paste",function(e)
{
e.preventDefault();
});
callJavascript();//call javascriot from here
});
functioncallJavascript()
{
...
...
}
Basically I am validating a visualforce form through Jquery and after validations I am trying to call a controller method, as there is no way to call a controller method from Jquery as far as I know. So, I want to invoke JavaScript method which in turn will invoke the controller method.
Note: Above code is just a sample one.
Thanks!