How to add attribute in cobol code-behind?

[Migrated content. Thread originally posted on 05 February 2011]

I found this in C#, but how do I do it in cobol? It goes in the Page_Load method.

txtName.Attributes.Add("onblur","somefunction()");