The Croatia international has been the subject of speculation this month, with the striker's agent claiming that the 26-year-old is "likely" to sign for Liverpool.
Despite reported interest from the Merseyside club, it appears that Jelavic is willing to move to Upton Park.
"West Ham are a great club and not a Second Division outfit," Jelavic told the Daily Record. "They are a famous English Premier League club who happened to be relegated last season and will return to the top division next season.
"It would be nice to play there, but I am playing at a big club so it wouldn't bother me if I had to stay and anyway I don't even call my agent about a transfer these days.
"I know Rangers are in a tough financial situation and if they need to sell me I will go, but I would also be happy to stay."
Hammers boss Sam Allardyce confirmed last week that the Championship side were in talks with the Scottish outfit over a transfer.