7

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

Mika Tuupola
  • 19,877
  • 5
  • 42
  • 49
leora
  • 188,729
  • 360
  • 878
  • 1,366

2 Answers2

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
});