Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function(){
- $('#interested_people li').click(function() {
- $(this).fadeOut('slow', function(){
- $(this).appendTo('#l_people_to_mail').fadeIn();
- var new_input =$('<input/>',
- { 'type' : 'hidden',
- 'name' : 'recipients',
- 'value' : $(this).text()
- });
- $('#form_mail_params').append(new_input);
- });
- return false;
- });
- $('#l_people_to_mail li').click(function() {
- alert('new parent detected');
- $(this).fadeOut('slow', function(){
- $(this).prependTo('#interested_people').fadeIn();
- $('#form_mail_params input[value="'+$(this).text()+'"]').remove();
- });
- return false;
- });
- });
Add Comment
Please, Sign In to add comment