I am creating my first ever plugin, as I am not a programmer, I have been following tutorials and reading the codex, etc.
My plugin consist in showing a notice to users when certain conditions are met, I have written it in jQuery and placed it in a js file which is enqueued by the plugin along with styles.
I have followed a tutorial that simply ads a settings page and a form with a simple text box to save data in the wp options table, I tested and it worked, the data was stored successfully.
How do I now transfer the data from the wp options to my js file, the line where the notice is display is;
jQuery('.notice_container').wrap(<'div id="custom_notice"><span>Hello World....</span></div>')
Thank you for your time.