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

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -