>Hi Dragan.
>How can I call the ajax script directly?
Do yourself a favor and remove that script code from the onclick handler and move it to a function:
onclick="Myfunction(this);"
<script type="text/javascript">
function MyFunction(el) {
... do your JS stuff
}
</script>
You can also call this function from FoxPro code.
Here's a blog post that talks about calling script code in the Web Browser control.
http://www.west-wind.com/Weblog/posts/493536.aspxNote that FoxPro can't mixed case functions and always looks for lowercase function names. So the function above should 'myfunction' if you want to call it from FoxPro.