Add JavaScript to write to SQL Server database

I need one of the .js files in the attached package to be modified to write four values to a SQL Server 2005 database. The package itself is a SCORM e-learning exam; I will provide you with a site to upload and run the package to make sure the modifications work.

## Deliverables

As mentioned, the attached package is a SCORM e-learning exam. You can upload and run the package for free, as well as learn more about what SCORM is, at [url removed, login to view]

My SQL Server 2005 database table contains four columns to be written to: StudentName (nvarchar), StudentId (nvarchar), Score (float), and Time (datetime). The values I need written to the database are the student name, the student ID, the exam score, and a timestamp. Once I accept your bid, I will provide you with a login ID with read and write permissions; please let me know what other information I need to provide you with to allow you to connect to the database.

The best place to access the score is in the file /js/os_learningObject.js. In this file, there is a function called DataSaveX(). This function is called when the Score Test button is pressed. At that point, the exam score is saved in a value called "[url removed, login to view]".

The student name and student ID values are stored in cmi.core.student_name and cmi.core.student_id. I don't know the exact syntax to access these values, so figuring that out will be part of the project.

The timestamp, of course, is the current date and time.

The project will be considered complete when the uploaded package successfully writes these values to the database every time the "Score Test" button is pressed. If you have any questions, please feel free to ask. Thanks for bidding!

Skills: Engineering, PHP, Project Management, Software Architecture, Software Testing, Web Hosting, Website Management, Website Testing

See more: what is package in sql, test my javascript, project management e learning, learn sql, learn php best, learning point, js write, js management, javascript e learning, i need to write, free php learning, free e learning php, free c# e learning, www e learning com, write to learn login, e learning login, test sql server, sql server c, scorm, my sql work, javascript to c++, free exam, exam management, core value, access to sql

About the Employer:
( 78 reviews ) Roanoke, United States

Project ID: #3638433

2 freelancers are bidding on average $87 for this job


See private message.

$68 USD in 3 days
(26 Reviews)

See private message.

$106.25 USD in 3 days
(8 Reviews)