troubleshooting Question

Converting Code from VBA to Javascript

Avatar of Buggs2012
Buggs2012 asked on
Programming Languages-OtherVisual Basic ClassicScripting Languages
9 Comments1 Solution800 ViewsLast Modified:

I need your help in converting the following code from VBA to Javascript.

I am really new to Javascript and need the help of an expert:

i = 0
Response.write "<table>"
Do While Not objRS.EOF
	i = i + 1
	Response.write "<tr class=""d" & (i And 1) & """>"
	Response.write "<td>" & objRS(0) & "</td>"
	Response.write "<td>" & objRS(1) & "</td>"
	Response.write "</tr>" & vbCrLf
Response.write "</table>"

Much thanks and appreciation for everyones time, help and support.


Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros