troubleshooting Question

Assistance with adding JQuery getJSON needed

Avatar of error77
error77 asked on
JavaScriptAJAX
7 Comments1 Solution283 ViewsLast Modified:
Hi all,

I wonder if anyone could help me here.

I have this code:

if ( ( today === highlightDay || today === presetDay || today === 21 || today === 30 ) ) { thisTheme = o.pickPageHighButtonTheme; }
                                          
Now, where you see the "today" link today === 21 || today === 30 etc....

these are hardcoded.

What I need to do is to be able to read the 21 , 30 etc from a JSON file instead.

I've been looking here: http://api.jquery.com/jQuery.getJSON/  but I don't know how to get this together.

Can anyone help please?

Thanks
ASKER CERTIFIED SOLUTION
leakim971
Multitechnician
Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros