I am a beginner in jquery. I'm sorry for my english. I read data from mysql:
$id=($row["ID"]);
$name=($row["Name"]);
$note=($row["Note"]); *// note set to textarea*
send function:
onclick= modP($id,$name,$note);
<script>
function modP(id,name,note){
$("#NoteP").val(note);
}
</script>
----- PROBLEM -------
NoteP is textarea.
if $note has one line the function work. all OK.
if $note has many lines the function modP is not called.
I tried with:
$note = str_replace("
","<br />", $row["Note"]);
Not work!
Please help me. Thank you.