BuckRogers ha scritto:
Here is an example found in the documentation : $.get("test.php", { name: "John", time: "2pm" } );How do I go about changing the parameters dynamically. Let's say I have a function that returns a name. I don't want "John", I want the string retuned from my getName() function
Have you tried this? $.get("test.php", {name: getName(), time:"2pm"});