Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="div-biography" style="overflow:scroll; height:480px;">
- <ul class="header">
- <li><button class="go-back-btn-bio" type="button" name="button" id="your-playlist"><i class="ion-ios-arrow-back"></i>GO BACK</button></li>
- </ul>
- <div class="row">
- <h3></h3>
- </div>
- <p></p>
- </div>
- $("#biography").click(function(){
- $(".div-pesquisa").hide();
- $(".div-biography").show();
- url="https://en.wikipedia.org/w/api.php?action=parse&page="+ query +"&format=json&origin=*";
- url=encodeURI(url);
- $.get(url,function(response,status){
- if (status=='success') {
- $(".div-biography .row h3").html(response.parse.title);
- $(".div-biography p").html(response.parse.text['*']);
- }
- });
- });
Add Comment
Please, Sign In to add comment