Simple JS Function Question
Simple JS Function Question
Out of context: Reply #2
- Started
- Last post
- 16 Responses
- esko0
the problem is that this recordset holds like 600 records and they all have their own jobID, and the naming system sucks and doesn't make any sense, so when I loop through I just attach the jobID to the end of the names of the fields.
Basically, I have to grab a number from one field so I can calculate some info on another and then stuff it all into the database without leaving the page.
So I need to have that jobID inside the function so that I can specify the right fields to grab and calculate etc.
If you know of a different (read:better) way to do this im all ears but for now this is what's working.
If there is anyway to turn the jobID that is sent to the function into a variable inside the function that would probably work too.