Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("li[id^='shop_id']").click( function () {
- alert("I clicked on id ??");
- });
- $("li[id^='shop_id']").click( function () {
- var current_id = $(this).attr("id");
- alert(current_id);
- });
- <script type="text/javascript">
- $("li[id^='shop)id']").click(function(){
- alert($(this).attr('id'));
- });
- </script>
Add Comment
Please, Sign In to add comment