jquery - How to get a JavaScript information printed in an html tag on another page via ajax? -


i'm trying processed information in javascript function html page. can source code.

$.ajax({     url: 'https://example.com/',     async: false,     type: 'get',     success: function(data) {         $('#testandodaiane').html($(data).find('#permissao').html());         console.log('data',data);     } }); 

you can't call javascript function in different web page, or extract markup different web page. can include javascript files other page uses.

seems you're trying build web service. client-side javascript not tool.


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -