Hi,
<-- IGNORE PROBLEM SOLVED -->
I'm new to the forum AND javascript so please try and excuse any mishaps in the below post
I currently have a voting system whereby users vote on an item giving it points. Inside a div the number of points will be printed. I need to control another (or the same) div's width based on this number.
Like I said I'm new(ish) to javascript but I've got a good understanding of how the basics work but I'm really lost as to how to start this.
So at the minute I have a div like this
<div id="results">3 points</div>
<div id="progress" style="width:0%"></div>
I need to change the width of div id = progress depending on what's in div id=results.
Any help would be really appreciated!
Thanks
Ed
Last edited by ed_conolly; 02-10-2010 at 09:05 AM..
Reason: Problem Solved
|