Note that there are some explanatory texts on larger screens.

plurals
  1. POjquery- jeditable not working
    primarykey
    data
    text
    <p>basically what I want is simple, when people onclick, the field become editable. </p> <p>After they change the value, press Esc at keyboard/ or click outside , to save the record.</p> <p>I'm not sure why it's not working. Documentation seems not complete... Anyone got idea on how this work? The documentation page: <a href="http://www.appelsiini.net/projects/jeditable" rel="nofollow noreferrer">http://www.appelsiini.net/projects/jeditable</a></p> <p>Here I post my existing code here for guys to review.</p> <p><strong>testing.html</strong></p> <pre><code>&lt;head&gt; &lt;title&gt;&lt;/title&gt; &lt;script src="jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt; &lt;script src="jquery.jeditable.mini.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt; &lt;script type="text/javascript" charset="utf-8"&gt; $(function() { $(".click").editable("jeditabletest.php", { indicator : "&lt;img src='indicator.gif'&gt;", tooltip : "Click to edit...", style : "inherit" }); }); &lt;/script&gt; &lt;style type="text/css"&gt; #sidebar { width: 0px; } #content { width: 770px; } .editable input[type=submit] { color: #F00; font-weight: bold; } .editable input[type=button] { color: #0F0; font-weight: bold; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;b class="click" style="display: inline"&gt;Click me if you dare!&lt;/b&gt;&lt;/&gt; or maybe you should &lt;/body&gt; &lt;/html&gt; jeditabletest.php &lt;?php echo "hehehe" ?&gt; </code></pre> <p>does anyone know what's wrong? I tried so many times, it just not working at all. All related library files are already put in.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload