View Single Post
Old 09-21-2012, 12:50 AM   PM User | #5
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
Code:
function addAward()

{

$(document).ready(function()
document.ready cannot (or at least, should not!) occur within a function. But you never call the function (unless you call it from some code that you haven't shown us) so the code is never executed.

[Personally, I wouldn't use div and span as variable names - it can only lead to confusion, and possible conflict.]
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS

Last edited by AndrewGSW; 09-21-2012 at 12:55 AM..
AndrewGSW is offline   Reply With Quote