Communication with jquery component

Communication with jquery component

I created a jquery graphical component. I wish now questioning. But I have no idea how to even searching on Google ... The idea would be a javascript function to make a call to a function of my component. Here is the simplified creation of structure ( TFOPlugin.js) :
  1. (function ($, w) { $.fn.TableFullOption = function (options) { var settings = $.extend(true, {}, { FiltreGeneral: false, BtnReset: false, Datas: {}, Head: "", Body: "", Delete: "", Add: "", Modify: "", Details: "", AvecPager: false, Selectable: false, LstPageSize: '10;20;30;40', Default: [], LargeurColonne: [], HauteurTotale: 800, FiltreColonne: [], TriColonne: [], NomColonne: [], ObligColonne: [], ModifColonne: [], AddColonne: [] }, options); if ((settings.Head == "") || (settings.Body == "")) { $(this).html('Erreur de paramétrage'); } else { ... } }; function GetInfo(){return true;} }(jQuery));
The call to my component
  1. <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <link href="/CSS/ui-lightness/jquery-ui.min.css" rel="stylesheet" /> <link href="/TableFullOptionPlugin/Table.css" rel="stylesheet" /> <script type="text/javascript" src="/script/jquery.js"></script> <script type="text/javascript" src="/script/jquery-ui.min.js"></script> <script type="text/javascript" src="/TableFullOptionPlugin/TFOPlugin.js"></script> <script type="text/javascript"> $(function () { $('#divTable').TableFullOption({ BtnReset: true }); }); </script> </head> <body> <div id="divTable"></div> </body> </html>

I try $('#divTable').TableFullOption().GetInfo(); but don't run. I've no idea how make a function or call my function GetInfo and have my response.

Thanks for your help.


If debugging is the art of removing bugs ... then program is the art of creating