I've since revised a bit of this code, and when you add the onclick event handler to the templates>partials>form_field.html render_field field, it is actually more appropriate to use the onchange event handler instead, so the line should now be: {% render_field field class+="form-control text-capitalize" onchange= "displayVariantPrice();" %}
Only reason for this revision is that I noticed on my Nexus 4 it actually required two clicks of the variant select menu before the displayVariantPrice method was called! Now it functions as intended. -- https://github.com/tangentlabs/django-oscar http://django-oscar.readthedocs.org/en/latest/ https://twitter.com/django_oscar --- You received this message because you are subscribed to the Google Groups "django-oscar" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/django-oscar. To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/31d828f5-c8a1-4386-bb75-937908f5fac8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.