If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Concatenation Problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-16-05, 02:00
michaelfg81 michaelfg81 is offline
Registered User
 
Join Date: Mar 2004
Posts: 202
Concatenation Problem

Hi,

I have this one problem which is keeping me up for nites already.

I have this javascript at the top of the page which is called by ASP code below (Page=HTML PAGE).

function update(forNum)
{
document.attendance1.test1.value="OP";
}

the value test1 is kinda dynamic although wat shown here is static.
Wat i really wan to do is this test1 can change to test2,test3,..........
the forNum value is the 1,2,3,.........
how do i concat the test with the forNum fot the output of test1.
Thanx
Reply With Quote
  #2 (permalink)  
Old 02-17-05, 02:09
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
Seems like a JavaScript question but check this out:

Dynamically Access Form Elements With Eval() by Boris Feldman
http://www.inquiry.com/techtips/js_p.../10min0200.asp
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
  #3 (permalink)  
Old 02-17-05, 03:16
michaelfg81 michaelfg81 is offline
Registered User
 
Join Date: Mar 2004
Posts: 202
Hi,

I manage to get it.
Thanx a lot
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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