The BJP wrested the seat from the main opposition INLD, which was decimated in the by-election.
Middha won by a margin of 12,935 votes, Jind Deputy Commissioner-cum-Returning Officer Amit Khatri said.
JJP was floated last month by Hisar MP Dushyant Chautala after a split in the INLD following a family feud.
The Congress, which had fielded its senior leader Randeep Singh Surjewala, an MLA from Kaithal, ended up at the third spot.
Middha (48) is a BAMS doctor, whose father's death necessitated the bypoll.
(Only the headline and picture of this report may have been reworked by the Business Standard staff; the rest of the content is auto-generated from a syndicated feed.)