Menu icon Foundation

My Posts

No Content

My Comments

schhathu commented on TheGabornator's post 6 months

 
 

down voteaccepted



You could use this snippet (tested on chrome):
 


var $code = $('#code');
$('.button-element').on('mousedown', function () {
$(this).data('inputFocused', $code.is(":focus"));
}).click(function () {
if ($(this).data('inputFocused')) {
$code.blur();
} else {
$code.focus();
}
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<input type="text" id="code" placeholder="enter code">
<button class="button-element">btn</button>




freedom apk showbox vidmate cartoon HD popcorn time mobdro terrarium TV videoder sad shayari

schhathu commented on Robocop's post 6 months

freedom apk
showbox
vidmate
cartoon HD
popcorn time
mobdro
terrarium TV
videoder
sad shayari

schhathu commented on Robocop's post 6 months

freedom apk
showbox
vidmate
cartoon HD
popcorn time
mobdro
terrarium TV
videoder
sad shayari

schhathu commented on Robocop's post 6 months

freedom apk
showbox
vidmate
cartoon HD
popcorn time
mobdro
terrarium TV
videoder
sad shayari

Posts Followed



Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on TheGabornator's post 6 months

 
 

down voteaccepted



You could use this snippet (tested on chrome):
 


var $code = $('#code');
$('.button-element').on('mousedown', function () {
$(this).data('inputFocused', $code.is(":focus"));
}).click(function () {
if ($(this).data('inputFocused')) {
$code.blur();
} else {
$code.focus();
}
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<input type="text" id="code" placeholder="enter code">
<button class="button-element">btn</button>




freedom apk showbox vidmate cartoon HD popcorn time mobdro terrarium TV videoder sad shayari

You commented on Robocop's post 6 months

freedom apk
showbox
vidmate
cartoon HD
popcorn time
mobdro
terrarium TV
videoder
sad shayari

You commented on Robocop's post 6 months

freedom apk
showbox
vidmate
cartoon HD
popcorn time
mobdro
terrarium TV
videoder
sad shayari

You commented on Robocop's post 6 months

freedom apk
showbox
vidmate
cartoon HD
popcorn time
mobdro
terrarium TV
videoder
sad shayari

Posts Followed

Following

  • No Content

Followers

  • No Content