Question: I have 41 users in OBIEE 11g. I wish to track the last login/logout date and time of all these users. How do I do that?

Answer: 
See this. (I hope you have the correct html, make sure to have all the quotes and doublequotes wrapped around every attribute properly.)

```
// Set a event on button click
$("#genTitle").click(function(){

    // Fetch Input Value
    var val = $("#newTitle").val();

    // Set the value fetched as the html of header
    $("#artTitle").html(val);

});

```
The value must be extracted inside the `click`.

So the Javascript code becomes:

```
$( "#genTitle" ).click(function() {
    var newTitle = $('#newTitle').val();
    $( "#artTitle" ).text(newTitle)
})

```

[See the fiddle:](http://jsfiddle.net/85egb561/)