Hi.
My example file: http://travishannon.com/test.php
In the above file, using the public release of jEditable and jquery
1.2.1 (also tried with earlier versions), I've created what should be
a an edit-in-place select box. However, when I click on it, the text
just disappears.
I've tried it using a 'loadurl' option, and with that an empty select
box is created (i.e. - it's not loading the values). I'm using the
same file as the example for simplicity's sake.
This is a mysql-driven value, which works totally fine when I use just
a text box and not a select. I've tried it without the db connection,
with static values, with the same effects.
Here's my code:
$(function() {
$(".select_status").editable("member_props_interest_save.php", {
data :
"{'interested':'interested','rejected':'rejected','selected':'interested'}",
type : 'select',
indicator: 'saving',
tooltip: 'click to edit',
submit: "OK"
});
});
And the text itself:
<p>This should show a select box on click:
<b class="select_status" id="select_1" style="height:20px;">
<?php echo (my database field); ?>
</b>
</p>
Take a look and see if it has the same effect for you.
Thanks for your help!
- Sterling