Set HTML Page backgroud image using jQuery
<p>I want  to set page backgroudImage using jQuery.
<br>I wrote this code but it is not work.<br>
What is the problem ?<br>
Image is exist<img src="http://i.stack.imgur.com/r35t2.jpg" alt="Image"></p>

<pre><code>var Page = $(this);
$(function () {
    SetBackgroundImage();
});


function SetBackgroundImage() {
    //Todo read ImagePath from server

    var ImageUrl;
    ImageUrl ="../Images/BackgroudImage.jpg";

    try {

        Page.css('background-image', 'url(' + ImageUrl + ')');
    } catch (e) {
        //LogError
        alert(e.Description);
    }

} 
</code></pre>
