Question: This [page documents a wonderfully simple way to implement a global](https://stackoverflow.com/questions/68485/how-to-show-loading-spinner-in-jquery) `.ajaxStart and .ajaxStop`. But as one of the comments points out, the downside is that it relies on a modal window presumably placed at an absolute x/y on the page. 

I'm looking to extend the answer provided there by appending the loader div to whichever div is the origin of my Ajax call. I don't want to be \_replacing the HTML of my current div - and I don't want to append HTML to it - I want to merge that loader div into my current div.

I've taken a couple runs with '.append' and '.html' but it's not clear to me exactly how to go about producing the given effect - especially given the reference to `Update: As of jQuery 1.8,`

thanks

Answer: 
rs is a recordset, which means a result of a database query.

The do until ... loop iterates (with the help of movenext) through all the rows found in the recordset (i.e. table users).

On all rows found the for each ... next loops through all fields found in the single row, which in this case is only the column name.
See comments added to the code below

```vb
' Create a recordset. This is an object that can hold the results of a query.
set rs = Server.CreateObject("ADODB.recordset")

' Open the recordset for the query specified, using the connection "conn"
rs.Open "Select name From users", conn

' Loop over the results of the query until End Of File (EOF)
'   i.e. move one at a time through the records until there are no more left
do until rs.EOF
    ' For each field in this record
    for each x in rs.Fields

        ' Write out its value to screen
        Response.Write(x.value)

    ' Move to the next field
    next

    ' Move to the next record
    rs.MoveNext

' Continue to loop until EOF
loop

' Close the recordset
rs.close

```