Working with TinyIMCE
, I am looking to incorporate a border around all images within the textarea
whenever a user submits the form.
$("form").submit(function() {
var content = $("#edit-message1-value").val();
// Afterwards, I want to manipulate the content of the textarea (which is in HTML format)
content.find("img")...
// or
$(content).find("img")...
...
})
Any suggestions?