Dump this result into json and render it on a page. Use AJAX to get this
json data in JavaScript.

On Fri, May 3, 2019, 2:41 PM sachinbg sachin <sachinbgsach...@gmail.com>
wrote:

> If u want to use that context in html means for I context ,I.user
> name,i.products like that u can use
>
> On Fri, May 3, 2019, 8:09 PM sachinbg sachin <sachinbgsach...@gmail.com
> wrote:
>
>> In JavaScript I don't know buddy
>>
>> On Fri, May 3, 2019, 6:33 PM Ravi Kumar <rk3545...@gmail.com wrote:
>>
>>> Try to use ajax
>>>
>>> On Fri 3 May, 2019 5:42 pm Mayur Bagul <mayur.bag...@gmail.com wrote:
>>>
>>>> Hello community,
>>>>
>>>> I have stored single value from database inside a variable which is
>>>> playing role of context inside views.py function.
>>>>
>>>> Now I want to use this context(which holds single value) in JavaScript
>>>> to change specific HTML content of template which will give me desired
>>>> webpage.
>>>>
>>>> I Searched on Google but I didn't found any useful tutorial or solution
>>>> on specified problem.
>>>>
>>>> I'm looking forward to get solution from community.
>>>>
>>>> Thanking you.
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Django users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to django-users+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to django-users@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/django-users.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/37395263-cf1d-4a7d-ad51-911e68da810b%40googlegroups.com
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To post to this group, send email to django-users@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAANT8EFTTjuSXF5U87jX_VDwu6yMZpHN3GcbJ-7zBpTU5YPm2g%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAANT8EFTTjuSXF5U87jX_VDwu6yMZpHN3GcbJ-7zBpTU5YPm2g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOs61rwmtrTfUFJFnsq2j5THzy34_x3%3DK_LmX3d51MH_NCmxFA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAOs61rwmtrTfUFJFnsq2j5THzy34_x3%3DK_LmX3d51MH_NCmxFA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAC26BE3zOOX0sfNJ1UTohfmmNu1Ec0t0ZBU_k0icY9UQqh7t4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to