$("#note_content").dialog({
title: "Note",
modal: true,
width:'auto',
height:'auto',
resizable:false,
open: function(){
var note_text = $('#note_content').attr('note_text');
}
}
In my code I am trying set note_text as content of dialog, any idea how could I do this?
You should have a content place holder inside your dialog, for example:
You had your note_text assigned to a variable in this line:
However, you didn’t assign the note_text variable to the placeholder.