I'm using formidable plugin to upload an image to node server, after upload is done, it returns an iframe with the corresponding message of success and its path.
I would like to retrieve this message to a string variable at client side (browser).
The above object is taken using var tempPath=document.getElementById('imho_id');
I've tried document.getElementById('imho_id').innerHTML;
but with no success.
My confusion here is the #document part and the access to style object, i appreciate if someone could help and also briefly explain the logic of accessing document or #document.
Thank you in advance!