WASHINGTON — The House of Representatives overwhelmingly passed a bill Friday to help fight heroin and prescription opioid abuse after Democrats dropped a demand that the measure include nearly $1 billion for drug treatment services.

The legislation, which was crafted by a joint House-Senate committee, now goes to the Senate next week, where Democrats must decide whether to approve it even though President Barack Obama might not sign it into law because of a lack of funding.

Currently, the Comprehensive Addiction and Recovery Act authorizes nearly $200 million for a variety of programs aimed at curbing prescription opioid and heroin abuse. But Congress must appropriate the money at a later date.

Earlier this week, White House press secretary Josh Earnest said Obama might not sign the bill if no funding was attached.

The legislation passed 407-5 on Thursday with lawmakers from both parties supporting the bill in a rare show of election-year bipartisanship.

The bill would provide resources to expand opioid prevention and educational efforts and to increase the availability of the overdose-reversal drug naloxone for police and first responders. The measure strengthens programs to monitor and track opioid prescription trends and boosts efforts to identify and treat incarcerated addicts...

Public health officials dealing with a national increase in drug addiction were cautiously optimistic, despite Senate Democrats' unease with the bill's lack of funding.

Chrissie Juliano, director of the Big Cities Health Coalition, which represents 28 large public health departments, called the legislation a "first step" but said more money was needed.

"We look forward to working with congressional leaders in the coming days to find a way to ensure robust funding to accompany their response," she said in a statement.