how can i open dvd tray without button on hp 645 g1 laptop pls. help

Use the "Eject" option in the right-click context menu in Windows (right-click on the DVD drive icon).

Also, button may be out of sight, check where the front edge of the drive slopes inwards -- you can't see that when viewed from above.