U.S. and Afghan officials have called on Pakistan to fight militants who launch attacks on Afghan and foreign forces along the Afghan border .