I'm not sure what you want "this" to be (in callbacks), but something
like is what you might consider:

var td6Input = $(td6).insert(
  new Element('input', {
    size: 2,
    maxLength: 2,
    name: "txtDateOfServDay" + seq,
    id: "txtDateOfServDay" + seq
  }).observe('keyup', function(){ KeyButtonPress(this, event, 2) })
    .observe('change', function(){ checkDay(this) })
)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to