Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > JavaScript

Reply
 
LinkBack Thread Tools
Old January 23rd, 2009, 03:57 AM   #1
New Member
 

Join Date: Jan 2009
Location: Sweden
Age: 31
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 tiito78 is on a distinguished road
dynamic table with nex and prev buttons

Hi there!

I want to start by say that I just started to learn javascript, soo my knowleges is just basics...

What I need to do is a dynamic table. 2 cols and max 10 rows. Is there more data then the next button must active to see the next 10 rows and soo on.

The data that is going to display is in a database, this part is finish. I can also get the data printed with document.write in a loop like this:

<script type="text/javascript">
var employee, e, col;
col = external.SokAnstallda(0);
e = new Enumerator(col.Items);
for (;!e.atEnd();e.moveNext())
{
employee = e.item();
document.write(employee.fornamn + " " + employee.efternamn);
}
</script>

Soo I need this code to bee implemented with in the table. I will upload a pic that shows the layout. Hope someone can help me!!!!

My best reguards:
Felipe Gomez Morales
Attached Images
File Type: jpg table layout.jpg (86.8 KB, 2 views)
tiito78 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lightbox - prev/next snappy JavaScript 0 July 4th, 2008 06:26 AM
How to constrain the height of a dynamic table MrQuestions HTML, XHTML and CSS 3 March 14th, 2008 09:08 PM
dynamic data in a table gecko HTML, XHTML and CSS 3 May 6th, 2007 07:47 AM
formatting of text froma a dynamic table in dreamweaver chimp Databases 2 January 2nd, 2007 06:09 AM
How to Create Dynamic Radio Buttons as Server Control? linkan .NET 0 July 8th, 2006 01:38 AM


Search Engine Optimization by vBSEO 3.2.0 RC8