Jump to content

Generating Radio Buttons


jimbo1978

Recommended Posts

Hi all,Just wondering if JavaScript can be designed so that I can create a function that loops through and generates new radio buttons depending on how many record entries are within a datasbase. Basically I would like to get some record information and dispaly into a table, however this table can vary in size depending on the records.James

Link to comment
Share on other sites

This should give some idea of how to add radio buttons with JS..http://www.codingforums.com/archive/index.php?t-26338.htmlSince you mentioned database and records, you must be using a server side scripting, guess it would be simple to create radio buttons using server side scripting languages.... like response.write("<input type='radio'.......") if you are using ASP....

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...