jQuery .append doesn't work -
I want to insert something in my form, which is plugged in hard and hard and I do not mess with it Wanted plugin files, so please give me the .append
& lt; Script & gt; JQuery ('# edit-profile') is found. ('& Lt; p & gt; smth & lt; / p & gt;'); & Lt; / Script & gt;
I have written something like this and as far as I can see it should work. The console in Chrome does not show me any bugs. Is there anything wrong here?
I am using the most modern jQuery and because of the security of WordPress, I am using jQuery instead of $.
Wrap it into domain preparation. Because # edit-profile
should be at the time the script is executed,
jQuery (document) .ready (function () {jQuery ('# edit-profile') .app ('<' & gt; smth & lt; / p & gt; ';));
Comments
Post a Comment