I tried something like this and that works:
        $('#content_main div.weblog_archive li a').click(function() {
                $('div.article').load("http://ischagast.nl/janhekmanschool/
nieuwsbrief/archief_maand/2008/05/ div.article");
                return false
        });

But that url (http://ischagast.nl/janhekmanschool/nieuwsbrief/
archief_maand/2008/05/) must not be the same everytime but it has to
be different every time.
I wanted to store it in a variable liuke this var $test = this.href
but how do I get it in that load thing?

I tried this but that did not work:
$('#content_main div.weblog_archive li a').click(function() {
        var $test = this.href;
        $('div.article').load("$test div.article");
        return false
});


On May 27, 11:53 pm, IschaGast <[EMAIL PROTECTED]> wrote:
> I have a page with an archive of all 
> newsletters:http://ischagast.nl/janhekmanschool/nieuwsbrief/archief/
>
> What I want is that when clicking a month the results of that month
> appear under the months just like this site:http://loweblog.com/archives/
>
> I thought building that with jquery would be simple, something like
> this:
>
> $('#content_main div.weblog_archive li a').click(function() {
>         $('div.article').load(this.href);
>         return false
>
> });
>
> This works good but I only want to load the div.article and thats
> something I could not get to work.
> I thought maybe something like this could work but it does not:
>
> .load(this.href + "div.article");
>
> What works?

Reply via email to