Skip to main content

[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()");

[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()");
Here is the syntax for COBOL and .NET:

In Visual COBOL:invoke txtName::Attributes::Add("onblur","somefunction();")

In Net Express with .NET 5.1:invoke txtName::"Attributes"::"Add"("onblur","somefunction();")