Welcome Guest, Not a member yet? Register   Sign In
Jquery with CI
#4

[eluser]Nick Husher[/eluser]
I think you misunderstood, that's where the script is being defined, not where it is being called.

Defining a function in javascript looks like this:
Code:
function MyFunction(args) { ... }
Calling a function in javascript looks like this:
Code:
MyFunction(myArguments);

Note: there are actually a handful of ways to both define and call functions in Javascript, but the most codified ways are delineated above.


Messages In This Thread
Jquery with CI - by El Forum - 10-03-2008, 07:43 AM
Jquery with CI - by El Forum - 10-03-2008, 08:58 AM
Jquery with CI - by El Forum - 10-03-2008, 11:39 AM
Jquery with CI - by El Forum - 10-03-2008, 01:01 PM
Jquery with CI - by El Forum - 10-04-2008, 04:13 AM
Jquery with CI - by El Forum - 11-06-2008, 03:42 PM
Jquery with CI - by El Forum - 11-07-2008, 03:40 PM
Jquery with CI - by El Forum - 11-07-2008, 05:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB