I'm *really* new the the ASP thing, but I am curious as to how I use an onclick event in HTML that has been dynamically created. I keep getting "object expected" errors. I am using something like this: <BR>html = "<span onclick='Get_Data()'>" + objFile.Name + "</span>" <BR><BR>It worked fine with href tags to open documents up in a new window, but the onclick jsut won't work. Can you help me?I don't think the <span> tag has an onclick event.<BR><BR>I suggest going through ASP .NET Lessons.<BR>http://samples.gotdotnet.com/QuickStart/aspplus/default.aspx?url=/quickstart/aspplus/doc/default.aspx<BR> <BR>Aaron