In the attempt to add tap events to my site I've added jquery mobile so that my buttons will work on the desktop and tablets.
However all my existing buttons now have extra text beside them. Before adding jquery mobile I had a button called "Add camera". Now adding jquery mobile it has the same button but beside it is some text with the same name as the button: "Add camera".
Simple button:
<button class="addwebcam">Add camera</button>
Just wanted to add bind event:
jQuery('.addwebcam').bind('click tap', function() {
jQuery('#cameraformwebcam').show();
jQuery('.addwebcam').hide();
});
If you look at the html source it doesn't show that extra text, nor do I see any errors.
I should note I added:
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
Nothing else. Ideas?