I'm currently working on developing a Google Chrome extension, but I've encountered some issues. I have an object file that represents a Form along with its actions. The problem arises after using the object, causing a breakdown where no code in the script file executes.
Below is the Form object file:
/// <reference path="../Jquery1.6_vsdoc/ChromeExtenVSdoc.js" />
/// <reference path="../Jquery1.6_vsdoc/jquery-vsdoc.js" />
function FormDataObject() {
// Definitions of various data fields
}
// Methods to retrieve input and clear forms
// Method to send specific form fields
// Method to send the entire form object
Here's the script file that utilizes the object:
/// <reference path="../ChromeExtenVSdoc.js" />
/// <reference path="../Jquery1.6_vsdoc/jquery-vsdoc.js" />
/// <reference path="FormDataObject.js" />
// Instantiation of FormDataObject and event handlers
$(document).ready(function () {
// Event handler for sending form data
// Event handler for clearing the form
alert("asdf"); });
I suspect there might be an issue within my object, although I'm unsure of what exactly it could be. Any insights would be greatly appreciated. (Apologies for any language barriers)
EDIT: This is how the files are referenced in the HTML:
<head>
<title></title>
<script src="../Jquery1.6_vsdoc/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="input_page.js" type="text/javascript"></script>
</head>