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?