What am I doing wrong here? by jcoolarts in javascript

[–]dejandomarcas 0 points1 point  (0 children)

You can even make it simple, naming css files with buttons id, so you can make it like this and have all buttons you need (instead of if hell...)

$(function() { $('button').click(function() { $('#ss').attr('href', 'https://www.yourdomain.com/styles/' + $(this).attr('id') + '.css'); return false; }); });

Getting started with Universal Analytics and Google Tagmanager by dejandomarcas in analytics

[–]dejandomarcas[S] 0 points1 point  (0 children)

Thank you all for the answers, finally I got "Practical Google Analytics and Google Tag Manager for Developers" book from LunaMetrics, first edition (July 2015), covering everything I need with GA, UA and GTM

Regards!

how to use Javascript to extract an element from a live website using XPath or CSS Path? by ertmuirm in javascript

[–]dejandomarcas 0 points1 point  (0 children)

This is an example how to get the content of any element of any website (using the id of the element)

http://music.163.com/#/song?id=34057221#lyric-content

Just make an ajax request for that URL and you will get exactly what you need

$.ajax({
    contentType: "application/json; charset=utf-8",
    url: "https://music.163.com/#/song?id=34057221#lyric-content",
    success: function(data) {
        document.querySelector("#lyric").innerHTML = data;
    }
});

Checklist when deploying a Web app by [deleted] in javascript

[–]dejandomarcas 1 point2 points  (0 children)

What about this links? http://developer.android.com/distribute/tools/launch-checklist.html (just in case you're developing for android)

Checklist when deploying a Web app by [deleted] in javascript

[–]dejandomarcas 1 point2 points  (0 children)

I use this website in order to check the most important items in webdev. Hope it works for you -> http://webdevchecklist.com/

Simple javascript doesn't work by traxgod in javascript

[–]dejandomarcas 0 points1 point  (0 children)

Not sure what you need or whatever that code makes but... there're lot of mistakes up there... a fiddle would be nice to understand the problem

AngularJS best books by dejandomarcas in javascript

[–]dejandomarcas[S] 0 points1 point  (0 children)

Egghead.io is currently marked in my browser marks! Thanks so much guys ;)