Question: I have jquery function:

```
function handleSplittingPrices() {
    var customerId = $(this).val();
    loadSplittingPrices(customerId);
}

```

I want to execute it with elem as "this":

```
var elem=$('...');
handleSplittingPrices() <-- here elem will be this

```

How can I do it?

Answer: 
Use [`call`](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function/call):

```
handleSplittingPrices.call(elem);

```
You can't. Obviously you don't know what "this" is for.

function handleSplittingPrices(elem) {
 var customerId = $(elem).val();
 loadSplittingPrices(customerId);
}

var elem=$('...');
handleSplittingPrices(elem);

Wow. Now wasn't that simpler than trying to define the whole concept of Object Oriented programming?