new to jquery here and I've been learning how to show/hide divs. I'd like to take it a step further and be able to replace a div with an AJAX call instead of showing a hidden div.
In this example I've been working on, the 'expand' button hides div.post-small and shows div.post-big
How would I begin to modify this so that the 'expand' button instead hides div.post-small and replaces the contents of div.post with an AJAX request (which would return a hypothetical div.post-big-ajax)
Thanks a lot for any insights!!