Hello folks,

I'm having problems with the following line of code

$("[EMAIL PROTECTED]'del_']").id("del_*"+pb+"_"+iA+"_ck");

in the function below.

What I'm trying to do is replace the id of the a tag from its existing id of 'del_' to 'del_*x_y_ck', where x and y are the variables pb and iA.

I know pb and iA are being 'received' by the function - the querystring generated by the get statement is correct.

I'm sure this function has worked previously, so perhaps my problem is based in a version update of jQuery, but perhaps it was only working previously in my dreams.

Any help appreciated.

Cheers

Bruce

function editAppAsset(ej) {
    var temp=new Array();
    temp=ej.split('_');
    var pb = temp[1];
    var iA = temp[2];
    $("#wrka").show();
$.get("scripts/ajax_ramosus_editor.asp?id=16b&pblID="+pb+"&assetID="+iA +"&q=" + new Date().getTime(), function(responseText){
    $("[EMAIL PROTECTED]'del_']").id("del_*"+pb+"_"+iA+"_ck");
var options = {dataType: 'json', before: showRequest, after: afterAppAsset}; $('#editor_form').submit(function() {$(this).ajaxSubmit(options);return false;});
    });
}; 

Reply via email to