Code: Select all
<script type="text/javascript">
$(document).ready(function(){
$('a').each(function(){
if ($(this).attr('rot_id')) {
$(this).bind('click', function(){
$(this).attr('href', $(this).attr('href')+ '?' + $(this).attr('rot_id'));
$(this).unbind('click');
});
}
});
});







