| View previous topic :: View next topic |
| Author |
Message |
jvantslot
Joined: 07 Oct 2007 Posts: 5
|
Posted: Sun Oct 07, 2007 3:38 am Post subject: Row count for httprequest? |
|
|
How do I get the count of rows from a response to an httpReqest?
I need to iterate through a xml result set using javascript. How do I access the row count?
Thanks! |
|
| Back to top |
|
 |
jvantslot
Joined: 07 Oct 2007 Posts: 5
|
Posted: Sun Oct 07, 2007 6:48 am Post subject: |
|
|
figured it out
| Code: |
var myXML = openrecord(rec_id);
e = myXML.getElementsByTagName('e');
for (var i=0; i<e.length; i++) {
var value1 = e.item(i).getAttribute('b')
var value2 = e.item(i).getAttribute('c')
var value3 = e.item(i).getAttribute('d')
var value4 = e.item(i).getAttribute('e')
}
|
|
|
| Back to top |
|
 |
|