<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Seems to me you would be better off just evaluating some simple javascript for this. Comet is used to send information to users connected to the same pusher.. whereas this looks like a private sort of thing.<br><br>Look at jQuery ajax stuff for this... like (I'm typing this from memory):<br><br>html textInput<br>&nbsp;&nbsp;&nbsp; on: #blah of: self;<br>&nbsp;&nbsp;&nbsp; onChange: html jQuery ajax serializeThis;<br>&nbsp;&nbsp;&nbsp; onBlur/Change: (html jQuery ajax script: [:s | s add: (html jQuery this attributeAt: #value put: self #blahFormatted)].<br><br>I seriously doubt that code would run... but you get the idea lol.<br><br>RS<br><br>&gt; Date: Thu, 29 Apr 2010 14:20:11 +0100<br>&gt; From: nickbrown@fastmail.fm<br>&gt; To: seaside@lists.squeakfoundation.org<br>&gt; Subject: [Seaside] Updating a text input with comet<br>&gt; <br>&gt; Hi.<br>&gt; <br>&gt; I'm trying to create a text input component where after the user has <br>&gt; typed something in and pressed enter, the contents of the text input are <br>&gt; replaced by a new string from the application. For example, entering an <br>&gt; amount of currency - the user types in '5.2' and the text input is then <br>&gt; replaced with a correctly formatted entry - '$5.20'.<br>&gt; <br>&gt; I've loaded the latest version of Comet from Squeaksource/seaside, and I <br>&gt; can see how the CTChat example is clearing the text input, in <br>&gt; renderChatInputOn:, but I can't figure out what variation on that code <br>&gt; would allow me to replace the text, rather than clear it.<br>&gt; <br>&gt; Any advice welcomed.<br>&gt; <br>&gt; Cheers,<br>&gt; Nick Brown<br>&gt; _______________________________________________<br>&gt; seaside mailing list<br>&gt; seaside@lists.squeakfoundation.org<br>&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>                                               <br /><hr />The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. <a href='http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4' target='_new'>Get busy.</a></body>
</html>