About 10,900,000 results
Open links in new tab
  1. How do I call a JavaScript function on page load?

    53 function yourfunction() { /* do stuff on page load */ } window.onload = yourfunction; Or with jQuery if you want: $(function(){ yourfunction(); }); If you want to call more than one function on …

  2. Newest 'function' Questions - Stack Overflow

    A function (also called a procedure, method, subroutine, or routine or macro) is a portion of code intended to carry out a single, specific task.

  3. How can I return two values from a function in Python?

    I would like to return two values from a function in two separate variables. What would you expect it to look like on the calling end? You can't write a = select_choice(); b = select_choice() …

  4. How do I measure elapsed time in Python? - Stack Overflow

    The precision, and in fact the very definition of the meaning of “processor time”, depends on that of the C function of the same name. On Windows, this function returns wall-clock seconds …

  5. How to return a result from a VBA function - Stack Overflow

    When called within VBA the function will return a range object, but when called from a worksheet it will return just the value, so set test = Range("A1") is exactly equivalent to test = …

  6. JavaScript error: "is not a function" - Stack Overflow

    It was attempted to call a value like a function, but the value is not actually a function. Some code expects you to provide a function, but that didn't happen.

  7. How do I get ("return") a result (output) from a function? How can …

    Suppose I have a function like: def foo(): x = 'hello world' How do I get the function to return x, in such a way that I can use it as the input for another function or use the variable within...

  8. Casting a function pointer to another type - Stack Overflow

    Calling a function pointer boils down to pushing the arguments on the stack and doing an indirect jump to the function pointer target, and there's obviously no notion of types at the machine …

  9. sql - TSQL Pivot without aggregate function - Stack Overflow

    TSQL Pivot without aggregate function Asked 16 years, 2 months ago Modified 2 years, 2 months ago Viewed 281k times

  10. c++ - Passing variable arguments to another function that accepts …

    If you've converted the variable arguments to a va_list, you can pass the va_list to another function that only takes a va_list, but that function (or one that it calls) must have some way of …