tags:

views:

69

answers:

0

Have the following

function business_name(Bname)
{
alert(Bname);
$.frameReady(function(){$("<b>"+Bname+"</b>").prependTo("#name");},"top.iFrame");
}

I get the Bname alert but the the function fails with fire bug saying Bname is not defined. Why is that?