etepevupsit
New Member
Is there something wrong with this script? Doesn't seem to work.\[code\]<HEAD><TITLE>Server Disk Alert</TITLE><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js"></script><script type="text/javascript" src="http://stackoverflow.com/Backup/2012/Web Projects/jquery-1.8.2.min.js"></script><script type="text/javascript">$(document).ready(function(){var widthValue = http://stackoverflow.com/questions/12757700/document.getElementsByClassName("item")[0].innerText;$(document).getElementsByTagName("hr")[0].style.width = widthValue;?if (parseInt(widthValue, 10) > 90) { document.getElementsByTagName("hr")[0].style.backgroundColor = "red";}?});</script></HEAD>\[/code\]Here's the jsfiddle link which what I'm trying to accomplish.
http://jsfiddle.net/XhxkX/7/
http://jsfiddle.net/XhxkX/7/