After a lot more testing, I think I know what's going on. I'm not sure
if it's a jQuery issue or javascript in general.
I've asked this on the FancyBox group, but thought I'd ask in here too
as I have a hunch it's a more universal concept with jQuery that I
need to grasp.
What my script is
Looks like a case of asynchronous-itis. You're reading the val() of
the load()-ed div before the Ajax call has had a chance to respond.
What you'll want to do is add the fancyBox stuff to the callback
function for load() like this:
Looks like a case of asynchronous-itis. You're reading the val() of
the load()-ed div before the Ajax call has had a chance to respond.
What you'll want to do is add the fancyBox stuff to the callback
function for load() like this:
Looks like a case of asynchronous-itis. You're reading the val() of
the load()-ed div before the Ajax call has had a chance to respond.
What you'll want to do is add the fancyBox stuff to the callback
function for load() like this:
Leonard:
Thanks! You *were* on the right track with that
All I can see is you're missing a closing single-quote (') after
locatorResults.cfm.
Oops. That's a typo on my part in the example.
We found out that it's maybe not jQuery that's the issue here.
When we run it on the server where we're actually returning content
based on the value we're
Here's the bit of jQuery we're using:
$('#LocatorGoLink').fancybox({
'hideOnContentClick': false,
frameWidth: 660,
frameHeight: 700,
overlayOpacity: .6,
padding: 0,
6 matches
Mail list logo