is there any options on jeditble so when i double click my text and the textbox pops up that it highlights all of the text
Asked
Active
Viewed 3,179 times
2 Answers
18
Use the select parameter. True means select (highlight all). False is the opposite.
$(".editable").editable("http://www.example.com/save.php", {
type : "textarea",
select : true
});

Mika Tuupola
- 19,877
- 5
- 42
- 49
2
for doubleclick:
$(".editable").editable("http://www.example.com/save.php", {
type : "textarea",
event : "dblclick",
select : true
});

Lazaro Fernandes Lima Suleiman
- 1,772
- 18
- 30