I am trying to get the width of a collapsible element created by JQuery Mobile.
Here is the code for the element:
<div id="sales" class="graph" data-inline="true" data-role="collapsible" data-collapsed="false" data-theme="b" data-content-theme="c" data-dividertheme="a">
However, whenever I do
$(".graph).width()
it displays the width of the element as if it were collapsed, instead of expanded. How do I get the width of the element when it is expanded?
Thanks