Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RecordSet..i want to navigate thru a table using javascript 1

Status
Not open for further replies.

vista

Programmer
Jul 4, 2000
9
IN
<br>Is&nbsp;&nbsp;there anything called as a&nbsp;&nbsp;recordset function in javascript?<br><br>there are soem functions available in VB script&nbsp;&nbsp;where u navigate&nbsp;&nbsp;thru the records..<br>like Move Next<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Move First<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Move Prev<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Move Last<br><br>do i have the&nbsp;&nbsp;same thing with javascript?i really need it&nbsp;&nbsp;badly as i have to navigate thru the resulttable and when i click on the first button..the&nbsp;&nbsp;cursor has to point to the&nbsp;&nbsp;first row..when i hit the&nbsp;&nbsp;next button the&nbsp;&nbsp;cursor&nbsp;&nbsp;points to the next row and so on..i use COLDFUSION...pls&nbsp;&nbsp;help me..
 
You can do it in Java- I don't believe that JavaScript is able to interact with databases, though. Coldfusion might, I'm not sure, but I don't think JavaScript can do it by itself. If you do decide to do it with Java, let me know, I might be able to help (you might be able to use JSP if your server is set up for it). <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
you can use jscript functions on the array you've built using coldfusion - if you've used the function i gave you in the coldfusion forum ;]<br>
 
You can use JavaScript ASP for this and it is quite easy. Once you have a RecordSet called rs, just say rs.MoveNext()<br><br><A HREF="mailto:jared@aauser.com">jared@aauser.com</A>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top