how to select html id which is assigned to Django variable in java script












0














I have an ID in html. This id is assigned to Django variable which contain ads ID. I want to add this ads ID to favorite list using local storage (cookies). Now, this ID is inside a loop and for every single ads will take different ID. The question is how to select the specific ID when the user click on that specific ID icons.



Here is my code:



{% for item in result %}
<span id="favouriteBtn" style="color:#ccc" title="add this post to favorite list"> ☆ </span>
{% endfor %}


THE ID SHOULD BE THIS WAY:



id={{item.id}}


Here is portion of javascript function:



$('#favouriteBtn').click(function(){
currentAddFav();


I want to set the ID as :



id={{item.id}}


and be able to select specific id which has been clicked by the user. How can i do that?



the currentAddFav function is as follow:



function currentAddFav(){
if(localStorage.getItem('favourites')){//If there are favourites
var storage = JSON.parse(localStorage['favourites']);
if (storage.indexOf('data-item-id') == -1) {
// # not found
storage.push('data-item-id');
localStorage.setItem('favourites', JSON.stringify(storage));
} else {
// # found
console.log('item already in favorites')
}

}
else
{//No favourites in local storage, so add new
var favArray= ;
favArray.push('data-item-id');
localStorage.setItem("favourites", JSON.stringify(favArray));
console.log('New favourites list');
}


}










share|improve this question
























  • What do you mean by "I have an ID in HTML"?
    – Nahiyan
    Dec 28 '18 at 7:48










  • not sure, but you can try id="{{ item.id }}". Its can select by jquery by $('#item.id')
    – Ngoc Pham
    Dec 28 '18 at 7:50










  • I meant this id="{{item.id}}"
    – Saleh
    Dec 28 '18 at 7:51










  • He cannot select it using "$('#item.id')" since he has arbitrary number of such elements, unless he dynamically generates his jQuery code using Django ofc.
    – Nahiyan
    Dec 28 '18 at 7:54










  • Ngoc Pham, I tried your solution but it did not work. even when hover over the icon does not allow me to select or click on it
    – Saleh
    Dec 28 '18 at 7:54
















0














I have an ID in html. This id is assigned to Django variable which contain ads ID. I want to add this ads ID to favorite list using local storage (cookies). Now, this ID is inside a loop and for every single ads will take different ID. The question is how to select the specific ID when the user click on that specific ID icons.



Here is my code:



{% for item in result %}
<span id="favouriteBtn" style="color:#ccc" title="add this post to favorite list"> ☆ </span>
{% endfor %}


THE ID SHOULD BE THIS WAY:



id={{item.id}}


Here is portion of javascript function:



$('#favouriteBtn').click(function(){
currentAddFav();


I want to set the ID as :



id={{item.id}}


and be able to select specific id which has been clicked by the user. How can i do that?



the currentAddFav function is as follow:



function currentAddFav(){
if(localStorage.getItem('favourites')){//If there are favourites
var storage = JSON.parse(localStorage['favourites']);
if (storage.indexOf('data-item-id') == -1) {
// # not found
storage.push('data-item-id');
localStorage.setItem('favourites', JSON.stringify(storage));
} else {
// # found
console.log('item already in favorites')
}

}
else
{//No favourites in local storage, so add new
var favArray= ;
favArray.push('data-item-id');
localStorage.setItem("favourites", JSON.stringify(favArray));
console.log('New favourites list');
}


}










share|improve this question
























  • What do you mean by "I have an ID in HTML"?
    – Nahiyan
    Dec 28 '18 at 7:48










  • not sure, but you can try id="{{ item.id }}". Its can select by jquery by $('#item.id')
    – Ngoc Pham
    Dec 28 '18 at 7:50










  • I meant this id="{{item.id}}"
    – Saleh
    Dec 28 '18 at 7:51










  • He cannot select it using "$('#item.id')" since he has arbitrary number of such elements, unless he dynamically generates his jQuery code using Django ofc.
    – Nahiyan
    Dec 28 '18 at 7:54










  • Ngoc Pham, I tried your solution but it did not work. even when hover over the icon does not allow me to select or click on it
    – Saleh
    Dec 28 '18 at 7:54














0












0








0







I have an ID in html. This id is assigned to Django variable which contain ads ID. I want to add this ads ID to favorite list using local storage (cookies). Now, this ID is inside a loop and for every single ads will take different ID. The question is how to select the specific ID when the user click on that specific ID icons.



Here is my code:



{% for item in result %}
<span id="favouriteBtn" style="color:#ccc" title="add this post to favorite list"> ☆ </span>
{% endfor %}


THE ID SHOULD BE THIS WAY:



id={{item.id}}


Here is portion of javascript function:



$('#favouriteBtn').click(function(){
currentAddFav();


I want to set the ID as :



id={{item.id}}


and be able to select specific id which has been clicked by the user. How can i do that?



the currentAddFav function is as follow:



function currentAddFav(){
if(localStorage.getItem('favourites')){//If there are favourites
var storage = JSON.parse(localStorage['favourites']);
if (storage.indexOf('data-item-id') == -1) {
// # not found
storage.push('data-item-id');
localStorage.setItem('favourites', JSON.stringify(storage));
} else {
// # found
console.log('item already in favorites')
}

}
else
{//No favourites in local storage, so add new
var favArray= ;
favArray.push('data-item-id');
localStorage.setItem("favourites", JSON.stringify(favArray));
console.log('New favourites list');
}


}










share|improve this question















I have an ID in html. This id is assigned to Django variable which contain ads ID. I want to add this ads ID to favorite list using local storage (cookies). Now, this ID is inside a loop and for every single ads will take different ID. The question is how to select the specific ID when the user click on that specific ID icons.



Here is my code:



{% for item in result %}
<span id="favouriteBtn" style="color:#ccc" title="add this post to favorite list"> ☆ </span>
{% endfor %}


THE ID SHOULD BE THIS WAY:



id={{item.id}}


Here is portion of javascript function:



$('#favouriteBtn').click(function(){
currentAddFav();


I want to set the ID as :



id={{item.id}}


and be able to select specific id which has been clicked by the user. How can i do that?



the currentAddFav function is as follow:



function currentAddFav(){
if(localStorage.getItem('favourites')){//If there are favourites
var storage = JSON.parse(localStorage['favourites']);
if (storage.indexOf('data-item-id') == -1) {
// # not found
storage.push('data-item-id');
localStorage.setItem('favourites', JSON.stringify(storage));
} else {
// # found
console.log('item already in favorites')
}

}
else
{//No favourites in local storage, so add new
var favArray= ;
favArray.push('data-item-id');
localStorage.setItem("favourites", JSON.stringify(favArray));
console.log('New favourites list');
}


}







javascript django






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 28 '18 at 8:06







Saleh

















asked Dec 28 '18 at 7:41









SalehSaleh

748




748












  • What do you mean by "I have an ID in HTML"?
    – Nahiyan
    Dec 28 '18 at 7:48










  • not sure, but you can try id="{{ item.id }}". Its can select by jquery by $('#item.id')
    – Ngoc Pham
    Dec 28 '18 at 7:50










  • I meant this id="{{item.id}}"
    – Saleh
    Dec 28 '18 at 7:51










  • He cannot select it using "$('#item.id')" since he has arbitrary number of such elements, unless he dynamically generates his jQuery code using Django ofc.
    – Nahiyan
    Dec 28 '18 at 7:54










  • Ngoc Pham, I tried your solution but it did not work. even when hover over the icon does not allow me to select or click on it
    – Saleh
    Dec 28 '18 at 7:54


















  • What do you mean by "I have an ID in HTML"?
    – Nahiyan
    Dec 28 '18 at 7:48










  • not sure, but you can try id="{{ item.id }}". Its can select by jquery by $('#item.id')
    – Ngoc Pham
    Dec 28 '18 at 7:50










  • I meant this id="{{item.id}}"
    – Saleh
    Dec 28 '18 at 7:51










  • He cannot select it using "$('#item.id')" since he has arbitrary number of such elements, unless he dynamically generates his jQuery code using Django ofc.
    – Nahiyan
    Dec 28 '18 at 7:54










  • Ngoc Pham, I tried your solution but it did not work. even when hover over the icon does not allow me to select or click on it
    – Saleh
    Dec 28 '18 at 7:54
















What do you mean by "I have an ID in HTML"?
– Nahiyan
Dec 28 '18 at 7:48




What do you mean by "I have an ID in HTML"?
– Nahiyan
Dec 28 '18 at 7:48












not sure, but you can try id="{{ item.id }}". Its can select by jquery by $('#item.id')
– Ngoc Pham
Dec 28 '18 at 7:50




not sure, but you can try id="{{ item.id }}". Its can select by jquery by $('#item.id')
– Ngoc Pham
Dec 28 '18 at 7:50












I meant this id="{{item.id}}"
– Saleh
Dec 28 '18 at 7:51




I meant this id="{{item.id}}"
– Saleh
Dec 28 '18 at 7:51












He cannot select it using "$('#item.id')" since he has arbitrary number of such elements, unless he dynamically generates his jQuery code using Django ofc.
– Nahiyan
Dec 28 '18 at 7:54




He cannot select it using "$('#item.id')" since he has arbitrary number of such elements, unless he dynamically generates his jQuery code using Django ofc.
– Nahiyan
Dec 28 '18 at 7:54












Ngoc Pham, I tried your solution but it did not work. even when hover over the icon does not allow me to select or click on it
– Saleh
Dec 28 '18 at 7:54




Ngoc Pham, I tried your solution but it did not work. even when hover over the icon does not allow me to select or click on it
– Saleh
Dec 28 '18 at 7:54












2 Answers
2






active

oldest

votes


















1














You can edit your span to have an attribute named 'data-item-id' which is equal to your item's id, like this:



{% for item in result %}
<span id="favouriteBtn" onclick="currentAddFav({{ item.id }})" style="color:#ccc" title="add this post to favorite list"> ☆ </span>
{% endfor %}


The "currentAddFav" function can handle the rest of the process (such as adding to Cookie, or whatever, from here.



Your "currentAddFav" function may look like this:



function currentAddFav(item_id){
if (localStorage.getItem('favourites')) { // If there are favourites
var storage = JSON.parse(localStorage['favourites']);
if (storage.indexOf(item_id) == -1) {
// not found
storage.push(item_id);
localStorage.setItem('favourites', JSON.stringify(storage));
} else {
// found
console.log('item already in favorites')
}

} else { // No favourites in local storage, so add new
var favArray= ;
favArray.push(item_id);
localStorage.setItem("favourites", JSON.stringify(favArray));
console.log('New favourites list');
}
}





share|improve this answer























  • Nahiyan, Thanks for the response. I edited my question to include the currentAddFav function. The function is still not working. when I checked the console, no message is displayed when I clicked on favorite icon? any help or suggestion?
    – Saleh
    Dec 28 '18 at 8:08












  • You need to take the value as an argument in your function "currentAddFav." That's the efficient way of doing it.
    – Nahiyan
    Dec 28 '18 at 8:19










  • sorry, I did not get you?
    – Saleh
    Dec 28 '18 at 8:24










  • Can you add your suggestion to the currentAddFav function ?
    – Saleh
    Dec 28 '18 at 9:18










  • I edited my answer and included the "currentAddFav" function.
    – Nahiyan
    Dec 28 '18 at 12:01



















0














you can try like this :



{% for item in result %}
<span id="{{ item.id }}" style="color:#ccc" title="add this post to favorite list"> ☆ </span>
<script type="text/javascript">
var id_selected = "{{ item.id }}";
</script>
{% endfor %}


and when your page loading finish, you can add click function in this var id_selected



$('#' + id_selected).click(function () {
currentAddFav();
});





share|improve this answer





















    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53955206%2fhow-to-select-html-id-which-is-assigned-to-django-variable-in-java-script%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    You can edit your span to have an attribute named 'data-item-id' which is equal to your item's id, like this:



    {% for item in result %}
    <span id="favouriteBtn" onclick="currentAddFav({{ item.id }})" style="color:#ccc" title="add this post to favorite list"> ☆ </span>
    {% endfor %}


    The "currentAddFav" function can handle the rest of the process (such as adding to Cookie, or whatever, from here.



    Your "currentAddFav" function may look like this:



    function currentAddFav(item_id){
    if (localStorage.getItem('favourites')) { // If there are favourites
    var storage = JSON.parse(localStorage['favourites']);
    if (storage.indexOf(item_id) == -1) {
    // not found
    storage.push(item_id);
    localStorage.setItem('favourites', JSON.stringify(storage));
    } else {
    // found
    console.log('item already in favorites')
    }

    } else { // No favourites in local storage, so add new
    var favArray= ;
    favArray.push(item_id);
    localStorage.setItem("favourites", JSON.stringify(favArray));
    console.log('New favourites list');
    }
    }





    share|improve this answer























    • Nahiyan, Thanks for the response. I edited my question to include the currentAddFav function. The function is still not working. when I checked the console, no message is displayed when I clicked on favorite icon? any help or suggestion?
      – Saleh
      Dec 28 '18 at 8:08












    • You need to take the value as an argument in your function "currentAddFav." That's the efficient way of doing it.
      – Nahiyan
      Dec 28 '18 at 8:19










    • sorry, I did not get you?
      – Saleh
      Dec 28 '18 at 8:24










    • Can you add your suggestion to the currentAddFav function ?
      – Saleh
      Dec 28 '18 at 9:18










    • I edited my answer and included the "currentAddFav" function.
      – Nahiyan
      Dec 28 '18 at 12:01
















    1














    You can edit your span to have an attribute named 'data-item-id' which is equal to your item's id, like this:



    {% for item in result %}
    <span id="favouriteBtn" onclick="currentAddFav({{ item.id }})" style="color:#ccc" title="add this post to favorite list"> ☆ </span>
    {% endfor %}


    The "currentAddFav" function can handle the rest of the process (such as adding to Cookie, or whatever, from here.



    Your "currentAddFav" function may look like this:



    function currentAddFav(item_id){
    if (localStorage.getItem('favourites')) { // If there are favourites
    var storage = JSON.parse(localStorage['favourites']);
    if (storage.indexOf(item_id) == -1) {
    // not found
    storage.push(item_id);
    localStorage.setItem('favourites', JSON.stringify(storage));
    } else {
    // found
    console.log('item already in favorites')
    }

    } else { // No favourites in local storage, so add new
    var favArray= ;
    favArray.push(item_id);
    localStorage.setItem("favourites", JSON.stringify(favArray));
    console.log('New favourites list');
    }
    }





    share|improve this answer























    • Nahiyan, Thanks for the response. I edited my question to include the currentAddFav function. The function is still not working. when I checked the console, no message is displayed when I clicked on favorite icon? any help or suggestion?
      – Saleh
      Dec 28 '18 at 8:08












    • You need to take the value as an argument in your function "currentAddFav." That's the efficient way of doing it.
      – Nahiyan
      Dec 28 '18 at 8:19










    • sorry, I did not get you?
      – Saleh
      Dec 28 '18 at 8:24










    • Can you add your suggestion to the currentAddFav function ?
      – Saleh
      Dec 28 '18 at 9:18










    • I edited my answer and included the "currentAddFav" function.
      – Nahiyan
      Dec 28 '18 at 12:01














    1












    1








    1






    You can edit your span to have an attribute named 'data-item-id' which is equal to your item's id, like this:



    {% for item in result %}
    <span id="favouriteBtn" onclick="currentAddFav({{ item.id }})" style="color:#ccc" title="add this post to favorite list"> ☆ </span>
    {% endfor %}


    The "currentAddFav" function can handle the rest of the process (such as adding to Cookie, or whatever, from here.



    Your "currentAddFav" function may look like this:



    function currentAddFav(item_id){
    if (localStorage.getItem('favourites')) { // If there are favourites
    var storage = JSON.parse(localStorage['favourites']);
    if (storage.indexOf(item_id) == -1) {
    // not found
    storage.push(item_id);
    localStorage.setItem('favourites', JSON.stringify(storage));
    } else {
    // found
    console.log('item already in favorites')
    }

    } else { // No favourites in local storage, so add new
    var favArray= ;
    favArray.push(item_id);
    localStorage.setItem("favourites", JSON.stringify(favArray));
    console.log('New favourites list');
    }
    }





    share|improve this answer














    You can edit your span to have an attribute named 'data-item-id' which is equal to your item's id, like this:



    {% for item in result %}
    <span id="favouriteBtn" onclick="currentAddFav({{ item.id }})" style="color:#ccc" title="add this post to favorite list"> ☆ </span>
    {% endfor %}


    The "currentAddFav" function can handle the rest of the process (such as adding to Cookie, or whatever, from here.



    Your "currentAddFav" function may look like this:



    function currentAddFav(item_id){
    if (localStorage.getItem('favourites')) { // If there are favourites
    var storage = JSON.parse(localStorage['favourites']);
    if (storage.indexOf(item_id) == -1) {
    // not found
    storage.push(item_id);
    localStorage.setItem('favourites', JSON.stringify(storage));
    } else {
    // found
    console.log('item already in favorites')
    }

    } else { // No favourites in local storage, so add new
    var favArray= ;
    favArray.push(item_id);
    localStorage.setItem("favourites", JSON.stringify(favArray));
    console.log('New favourites list');
    }
    }






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Dec 28 '18 at 12:28

























    answered Dec 28 '18 at 7:52









    NahiyanNahiyan

    294211




    294211












    • Nahiyan, Thanks for the response. I edited my question to include the currentAddFav function. The function is still not working. when I checked the console, no message is displayed when I clicked on favorite icon? any help or suggestion?
      – Saleh
      Dec 28 '18 at 8:08












    • You need to take the value as an argument in your function "currentAddFav." That's the efficient way of doing it.
      – Nahiyan
      Dec 28 '18 at 8:19










    • sorry, I did not get you?
      – Saleh
      Dec 28 '18 at 8:24










    • Can you add your suggestion to the currentAddFav function ?
      – Saleh
      Dec 28 '18 at 9:18










    • I edited my answer and included the "currentAddFav" function.
      – Nahiyan
      Dec 28 '18 at 12:01


















    • Nahiyan, Thanks for the response. I edited my question to include the currentAddFav function. The function is still not working. when I checked the console, no message is displayed when I clicked on favorite icon? any help or suggestion?
      – Saleh
      Dec 28 '18 at 8:08












    • You need to take the value as an argument in your function "currentAddFav." That's the efficient way of doing it.
      – Nahiyan
      Dec 28 '18 at 8:19










    • sorry, I did not get you?
      – Saleh
      Dec 28 '18 at 8:24










    • Can you add your suggestion to the currentAddFav function ?
      – Saleh
      Dec 28 '18 at 9:18










    • I edited my answer and included the "currentAddFav" function.
      – Nahiyan
      Dec 28 '18 at 12:01
















    Nahiyan, Thanks for the response. I edited my question to include the currentAddFav function. The function is still not working. when I checked the console, no message is displayed when I clicked on favorite icon? any help or suggestion?
    – Saleh
    Dec 28 '18 at 8:08






    Nahiyan, Thanks for the response. I edited my question to include the currentAddFav function. The function is still not working. when I checked the console, no message is displayed when I clicked on favorite icon? any help or suggestion?
    – Saleh
    Dec 28 '18 at 8:08














    You need to take the value as an argument in your function "currentAddFav." That's the efficient way of doing it.
    – Nahiyan
    Dec 28 '18 at 8:19




    You need to take the value as an argument in your function "currentAddFav." That's the efficient way of doing it.
    – Nahiyan
    Dec 28 '18 at 8:19












    sorry, I did not get you?
    – Saleh
    Dec 28 '18 at 8:24




    sorry, I did not get you?
    – Saleh
    Dec 28 '18 at 8:24












    Can you add your suggestion to the currentAddFav function ?
    – Saleh
    Dec 28 '18 at 9:18




    Can you add your suggestion to the currentAddFav function ?
    – Saleh
    Dec 28 '18 at 9:18












    I edited my answer and included the "currentAddFav" function.
    – Nahiyan
    Dec 28 '18 at 12:01




    I edited my answer and included the "currentAddFav" function.
    – Nahiyan
    Dec 28 '18 at 12:01













    0














    you can try like this :



    {% for item in result %}
    <span id="{{ item.id }}" style="color:#ccc" title="add this post to favorite list"> ☆ </span>
    <script type="text/javascript">
    var id_selected = "{{ item.id }}";
    </script>
    {% endfor %}


    and when your page loading finish, you can add click function in this var id_selected



    $('#' + id_selected).click(function () {
    currentAddFav();
    });





    share|improve this answer


























      0














      you can try like this :



      {% for item in result %}
      <span id="{{ item.id }}" style="color:#ccc" title="add this post to favorite list"> ☆ </span>
      <script type="text/javascript">
      var id_selected = "{{ item.id }}";
      </script>
      {% endfor %}


      and when your page loading finish, you can add click function in this var id_selected



      $('#' + id_selected).click(function () {
      currentAddFav();
      });





      share|improve this answer
























        0












        0








        0






        you can try like this :



        {% for item in result %}
        <span id="{{ item.id }}" style="color:#ccc" title="add this post to favorite list"> ☆ </span>
        <script type="text/javascript">
        var id_selected = "{{ item.id }}";
        </script>
        {% endfor %}


        and when your page loading finish, you can add click function in this var id_selected



        $('#' + id_selected).click(function () {
        currentAddFav();
        });





        share|improve this answer












        you can try like this :



        {% for item in result %}
        <span id="{{ item.id }}" style="color:#ccc" title="add this post to favorite list"> ☆ </span>
        <script type="text/javascript">
        var id_selected = "{{ item.id }}";
        </script>
        {% endfor %}


        and when your page loading finish, you can add click function in this var id_selected



        $('#' + id_selected).click(function () {
        currentAddFav();
        });






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 28 '18 at 8:16









        Ngoc PhamNgoc Pham

        29417




        29417






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53955206%2fhow-to-select-html-id-which-is-assigned-to-django-variable-in-java-script%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Monofisismo

            Angular Downloading a file using contenturl with Basic Authentication

            Olmecas