Welcome Guest, Not a member yet? Register   Sign In
Jquery and CI, URL problems
#7

[eluser]jdfwarrior[/eluser]
[quote author="piranha_swe" date="1250621580"]Its not located in a js file. Its in the view file.

I tried specifying the URL too, but didnt get that to work either Sad.[/quote]

Load works fine. I have never attempted to make new functions like that within jQuery, but it doesnt seem to be working that way. In my test when I attempted to just create a new function like that within jQuery, the function was executed automatically at the document.ready event. Basically, I think you may have to extend the jquery core to create that function. Read the jQuery.extend method doc under the jQuery Core section. You may have to do it that way if you want to create the function.

When are you calling this function? Why not just, instead of making it a function, just take your code and attach it to an object.event and let it execute normally?


Messages In This Thread
Jquery and CI, URL problems - by El Forum - 08-18-2009, 05:11 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 05:34 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 06:49 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 06:51 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 06:58 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 07:53 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 07:56 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 08:01 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 08:12 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 08:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB