I have a function:

function quiz(action,id,last,value) {
$.get("/mobile/quiz.php?action=" + action+ "&id=" + id + "&last=" + last+ "&value=" + value,
function(data){
$("#quiz").html(data);
});
}

In my php document I call the function like this:
<a href="javascript:quiz('test','<?php echo $id; ?>','<? echo $question; ?>','5')">totally agree</a>

Everything works fine, but only the css (I'm using jQuery mobile) gets lost after clicking the link "totally agree".

How can I fix this?