Click here to Skip to main content
15,896,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
I have tried with widget(jquiry-ui) but works up to some extent. So I want a better solution.

I have develop widget containing a progress bar. Now my requirement is to add text on it which is dynamic and change according its progress.


Lets take a example,
    var _linearguage = this._progressbar = $('<progress></progress>');

To achieve it I have replace the above line of code with bellow,

    var _linearguage = this._progressbar = $(' <div id="progress" class="graph"><div id="bar" ><p>34%</p></div></div>');

and I am appending it to parent <DIV>

    widget._container.append(_linearguage);

Now I want change the width of bar(<div id="bar">) form widget option means dynamically.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900