So do you just want to load a form when one of those links is clicked?

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Vladimir
Sent: Tuesday, August 18, 2009 10:47 AM
To: jQuery (English)
Subject: [jQuery] Add post to "My favorites" page


Hi everyone.

I am not familiar with js and jQuery, but need to create function to
add/remove blog post to "My favorites" page and update counter of
saved posts. Is any ready solution - plugin or snippet - to it?

There is my html snippet.

<h1><a href="http://www.example.com/add-post-to-my-favorites-page.htm";
id="post_0064"><span class="bookmark" title="My Favorites - Add/
Remove">Favorites </span>Heading</a></h1>
<p>Body copy.</p>
[...]
<ul class="ul_favs">
[...]
<li id="bookmarks" <a href="http://www.example.com/account/
favs.htm">My Favorites</a><sup><!-- Counter -->46</sup></li>
</ul>

I think that it can be done with $.ajax, but have not idea how.

Thanks in advice.

Reply via email to