Simple JS Function Question
Simple JS Function Question
Out of context: Reply #10
- Started
- Last post
- 16 Responses
- esko0
ok, so I set this up on a free asp host.
here is the page.
http://www33.brinkster.com/neilh…here is the script.
http://www33.brinkster.com/neilh…I got the function thing figured out, if i want to do it the way that I was trying I would have to get ahold of that argument value like this.
function myFunction(jobID) {
var jobIdCollection = document.getElementsByName('peri... + jobID);
var jobIdValue = jobIdCollection[0].value;
I bumped the thread because I was hoping if you had a bit of spare time you could take a look at it and tell me if I'm doing this right. I have a feeling it could be coded 10x better/efficient.