Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jeditable - highlight all text after double click

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

like image 387
leora Avatar asked Sep 27 '09 14:09

leora


1 Answers

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
});
like image 66
Mika Tuupola Avatar answered Sep 23 '22 09:09

Mika Tuupola