从Javascript函数调用jQuery方法

Ant*_*ony 1 javascript jquery call

我有一个用JavaScript编写的方法让我们说'callme',我在块$(document.ready)中编写了一些jQuery代码.

我的问题是如何从jQuery块中调用现有的JavaScript方法'callme'.

假设列表如下,

function callme(){
    // do some complex processing. I don't want to do this in jQuery
}

$(document).ready(function(){
    // I need to call callme function from here.
});
Run Code Online (Sandbox Code Playgroud)

请帮帮我.

Dav*_*ing 9

$(document).ready(function(){callme()});