jquery - javascript code with ajax loading -
i try add css class js element. i'm trying add css class html element via javascript.
(function ($) { "use strict"; $(document).ready(function () { $('.delete').addclass('icon-trash'); }); })(jquery.noconflict());
but when element loaded ajax need refresh page see it. how can fix ?
you have not used ajax in this, have used jquery.read ajax call , use it. if want go same code of yours try call function onload
like <body onload="myfunction()">
Comments
Post a Comment