0

I have a issue in safari when click event call for hidden field.

Its work in firefox and chrome but not worked in safari.

below code:

<a href="#" class="aaa">aaa</a>
<a href="#" class="bbb" style="display:none;">bbb</a>

<script>
$('.aaa').click(function(){
 $('.bbb').click();
});
</script>

In safari, for bbb event not call but work in FF and chrome.

any one have a idea.

Thanks

user1780370
  • 851
  • 1
  • 17
  • 27

1 Answers1

0

I found solution of above my question.

<a href="#" class="bbb"  style="visibilty:hidden;width:0;height:0">bbb</a>

I found answer from here

Community
  • 1
  • 1
user1780370
  • 851
  • 1
  • 17
  • 27