Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $("tr.first-row").bind('tap',function(event, ui){
- topRowClicked();
- })
- $("tr.second-row").bind('tap',function(event, ui){
- bottomRowClicked();
- })
- $("widget-button").bind('tap',function(event, ui){
- bottomRowClicked();
- })
- });
- function topRowClicked()
- {
- var myclass = $("div.main-page").css("background-color","#0000ff");
- console.log("TESTING TOP");
- }
- function bottomRowClicked()
- {
- var myclass = $("div.main-page").css("background-color","#00ff00");
- console.log("TESTING BOTTOM")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement