Found something:
Am 11.04.2008 um 17:53 schrieb Frank Goenninger:
+function send_text (obj, e) { var request = {}; switch(e.type) { case "keyup": @@ -29,8 +38,11 @@ $(document).ready(function(){ // $(":input").keyup(function(e) { // send(this, e); // });
- $(":input").change(function(e) {
send(this, e);
- $(":input[type='text'").change(function(e) {
send_text(this, e);
});
- $(":input[type='checkbox']").change(function(e) {
});send_checkbox(this, e);
});
Oh - now I see the potential problem: These "//" ... I will test...
And right there it is:
$(document).ready(function(){ // $(":input").keyup(function(e) { // send(this, e); // }); $(":input[type='text']").keyup(function(e) { send_text(this, e); }); $(":input[type='checkbox']").change(function(e) { send_checkbox(this, e); }); });
Two things:
1.) I had to change the line
$(":input[type='text']").keyup(function(e) {
the "]" was missing after 'text' ...
2.) I had to change the event type to "keyup" for the text input in order to really get every key stroke sent over to the server. That's the behaviour I am used to from using Celtk and Cello...
Now I am back in the game again.
Cheers, Frank