FF & IE compatability problem

FF & IE compatability problem

Hi, all

The following works in FF. While it causes an error as " Expected identifier, string or number" in IE8 at //here...
jQuery1.4.1

    function submit2_set_freq_job(){
        var job = $('#jobs [name=sel_job]:checked').parent();
        var job_name = job.siblings('.job_name').text();
        var frequent_job = job.siblings('.frequent_job').text();
        var prompt = (frequent_job == 'Y'? 'reset '+job_name+ ' from frequent job?'
            : 'set '+job_name+ ' as frequent job?');
        var set_reset = (frequent_job == 'Y'? 'N': 'Y');
        var my_dlg = $('#my_dlg')
        .dialog('option', {
            title: 'Set/reset frequent job',
            open: function(){$(this).next().find(':button:contains("Yes")').focus();},
            buttons:{
                Yes: function(){
                    $.ajax({
                         url: cij.uri_site + cij.prog_name + '/set_freq_job/' + job_name + '/' + set_reset,
                         success: function(xreturn_val){
                             if(check_ajax_resp(xreturn_val) === true){
                                 my_dlg.dialog('close');
                             };
                         }//success:
                     });//$.ajax                           
                },
                Cancel: function(){$(this).dialog('close')}
            }
        }) //here ...
        .text('Are you sure you want to ' + prompt)
        .dialog('open');
    };