If you visit HK between your trip from US to Shanghai,OK.

Or between your trip from Shanghai to USA after you getting a visa in US consulate in Shanghai,is ok too.
Otherwise you need a entry permit from China consulate in US or 公安局 in China.

請您先登陸,再發跟帖!