jaunesarmiento / fries

Fries helps you prototype Android apps using HTML, CSS, and JavaScript.
MIT License
1.55k stars 222 forks source link

Onclick function won't run on buttons, and anchor tags. #71

Open chiragnarula opened 10 years ago

chiragnarula commented 10 years ago

Hey, I am not sure what I am missing, but I have been struggling with onClick functions on anchors, and Buttons.

jaunesarmiento commented 10 years ago

Hi @chiragnarula, you might want to look at two things:

  1. First check if you have an onClick attribute in your <body> tag. You'll want to remove that.
  2. Then make sure you have data-ignore="true" attribute in your links and buttons.