Answer the question
In order to leave comments, you need to log in
ODesk - how to use Time Tracker?
I'm new to odesk.com so far there have been flat rate orders. I have never dealt with the time tracker. Here, having completed the next order, the client wrote that I should track the time spent.
Question: how to proceed in such a situation? Just text him how much I spent? Or can you just download the time tracker and indicate the hours spent there, provided that the project is with a fixed payment? Thank you.
Answer the question
In order to leave comments, you need to log in
How much time can be discussed in a project with a fixed payment.
Tell the client that you do not track time in projects with a fix and the next one can hire with an hourly rate.
In your case, you simply do not need to enclose the showPopup function in $(document).ready.
Your code will simply be like this:
function showPopup() {
alert(123)
}
This means that the showPopup function is not in the global scope. Maybe you have it wrapped in document ready?
To pull it out, you can do something like this:
// вместо этого:
function showPopup () {
...
}
// написать так:
window.showPopup = function () {
...
};
<div class="header-contacts__text js-call">
заказать обратный звонок
</div>
$(document).ready(function(){
function showPopup() {
alert("asd");
}
$(document).on('click', '.js-call', showPopup);
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question