The Artima Developer Community
Sponsored Link

Agile Buzz Forum
JQuery Example

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
JQuery Example Posted: Sep 1, 2009 12:40 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: JQuery Example
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

So this is pretty cool - using JQuery to remove an element is pretty easy in Seaside:


	html anchor
		onClick: (html jQuery ajax
					callback: [blog removePost: aPost]),
					(html jQuery this 
						closest: 'tr'; 
						"remove;"
						hide: 2 seconds);
		with: 'remove' 

Using #remove: just removes the table element; using #hide: does the same thing, but animates it over a time interval. Pretty cool stuff - I really need to investiage this stuff more.

Technorati Tags: , , , ,

Read: JQuery Example

Topic: Selective Thought Experiment Previous Topic   Next Topic Topic: Me at ESUG 2009

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use