Uncaught Error: Syntax error, unrecognized expression: #:eval
return A(T('Send friend request'), callback=URL('default', 'friendship', args=['request', user.id]), _class='button white friendship', _id='friendship_button', target=':eval')
new_button = SPAN(XML(T("✔ Friend request sent")), _class='button white friendship')return "jQuery('#friendship_button').replaceWith('%s');" % new_button
ajax('echo', ['name'], ':eval')
new_button = SPAN(XML(T("✔ Friend request sent")), _class='button white friendship')
response.js = "jQuery('#friendship_button').replaceWith('%s');" % new_button