Welcome Guest, Not a member yet? Register   Sign In
CI and jQuery help
#17

[eluser]Symcrapico[/eluser]
Just a quite note on using Ajax call with IE. Let's say that your Ajax call calls "http://www.me.com/controller/fortuneTeller/". If fortuneTeller never returns the same thing, you'll want to add a random string at the end of the url like so:

Code:
var nc_helper = new Date().getTime();
$('#munic_list').load('http://www.me.com/controller/fortuneTeller/'+nc_helper);

This is needed since IE is normaly caching the link's data, so by fooling IE with the nc_helper it works well.


Messages In This Thread
CI and jQuery help - by El Forum - 05-21-2008, 04:13 PM
CI and jQuery help - by El Forum - 05-21-2008, 04:33 PM
CI and jQuery help - by El Forum - 05-22-2008, 01:18 AM
CI and jQuery help - by El Forum - 05-22-2008, 01:42 AM
CI and jQuery help - by El Forum - 05-22-2008, 07:49 AM
CI and jQuery help - by El Forum - 05-22-2008, 08:08 AM
CI and jQuery help - by El Forum - 05-22-2008, 09:43 AM
CI and jQuery help - by El Forum - 05-22-2008, 10:11 AM
CI and jQuery help - by El Forum - 05-22-2008, 10:16 AM
CI and jQuery help - by El Forum - 05-22-2008, 10:28 AM
CI and jQuery help - by El Forum - 05-22-2008, 10:30 AM
CI and jQuery help - by El Forum - 05-22-2008, 10:31 AM
CI and jQuery help - by El Forum - 05-22-2008, 10:32 AM
CI and jQuery help - by El Forum - 05-22-2008, 10:35 AM
CI and jQuery help - by El Forum - 05-22-2008, 10:37 AM
CI and jQuery help - by El Forum - 05-22-2008, 10:40 AM
CI and jQuery help - by El Forum - 05-22-2008, 12:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB