jeditable - jquery function not working if alert is commented out -


I am running a post function, after the function is over. I am running another function if the function does not contain any warning message, then it does not work second, it does not work ...

The jquery function is:

  function applied () {// warning ('trying to apply editable class ...'); $ (". Edit_mystatus"). Editable ('/ cgi-bin / my_cgi_script.pl', {event: 'dblclick', // or dblclick data: "{'A': 'active', 'c': 'full', 'd': ' Deleted '} ", type:' select ', submit:' OK, Indicator: '& lt; img src =" http: //my_website/images/indicator.gif "& gt;', placeholder: ' Double click to edit ', Tooltip:' Double click to edit ... ', Style:' Display: Inline ', Name:' name ', id:' id ', callback: function (value, Settings) {/ Console.log (this); // console.log ('back value =' + value + 'now disable the full form Or have been if the whole or removed); // console.log (settings);}}); $ (". Edit_mynotes"). Editable ('/ cgi-bin / my_cgi_script.pl', {event: 'dblclick', // or dblclick type: 'textarea', lines: 10, cols: 100, Cancel: 'Cancel', submit: 'Save', indicator: '& lt; img src = "http: //my_website/images/indicator.gif" & gt;', placeholder: 'double-click to enter text', tooltip: 'edit Double click for ... ', style:' display: inline ', name:' name ', id:' id '}); $ (". Ajaxfileupload"). Cancel: 'Cancel', indicator: '& lt; img src = "http: / (' / cgi-bin / my_cgi_script.pl ', {type:' ajaxupload ', submit:' upload ' /my_website/images/indicator.gif "& gt; 'Tooltip:" Double click to upload ... ", Style:' Display: inline ', name:' file name ', id:' id '} ); $ ("Checkclass"). Click (function () {var $ this = $ (this); // $ in the checkbox var chkboxval = $ this.val (); if ($ this.is) will be referenced (': check')) {Warning ('Checkbox was checked val =' + chkboxval);} and {warnings ('checkbox unchecked val =' + chkboxval);}}); }   

is html:

  & lt; Input type = "checkbox" class = "checkclass" value = "1_0" & gt; & Lt; Input type = "checkbox" class = "checkclass" value = "1_1" & gt; & Lt; Input type = "checkbox" class = "checkclass" value = "1_2" & gt;   

...

The executable function must be called calling For example, the 'breakthrough' of the function

For example:

Calling Function (ABC) {... ...

  $ (Data, Function (MyFile) {$ ("#Added"). Html (Mimefile); apply () // This call is successful later (100% execution)});   

...}

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -