Yes, you can wear jeans. It's important that you dress modestly, so you should avoid wearing tank tops, shorts or mini skirts. You will also need to remove your shoes before you enter the temple.