Which of the following will make the background of a page change, upon being refreshed?
Answer
Correct Answer: $(document).ready(function() { var totalCount = 2; var num = Math.ceil( Math.random() * totalCount ); document.body.background = 'assets/background-'+num+'.jpg'; });
Explanation:
Note: This Question is unanswered, help us to find answer for this one