$(document).on('click', '#btn', function(e) {
store.search({
term: $('#input').val(),
num: 1,
page: 1,
country : 'us',
lang: 'lang'
})
.then(response => {
fs.writeFileSync('file.json', JSON.stringify(response));
})
.catch(err => {
fs.writeFileSync('file.json', JSON.stringify(err));
});
});
$hideEmailList = [ ];
foreach ($data as $element) {
if (!in_array($element->login, $hideEmailList)) {
$hideEmailList[] = $element->login;
echo $element->login . '<br/>' . $element->name . '<br/><br/>';
}
}
function cdpause() {
// pauses countdown
clearTimeout(t);
clearInterval(interval);
};
function countdown() {
// starts countdown
cddisplay();
if (count == 0) {
// time is up
} else {
count--;
t = setTimeout("countdown()", 1000);
}
};
$("#id[pressed = 'false']").on('click'
$("#id[pressed = 'true']").on('click'
$(document).on('click', "#id[pressed = 'true']", function(){
$(document).on('click', "#id[pressed = 'false']", function(){
<script>
jQuery(document).ready(function() {
jQuery('#shop-basket a').on('click', function() {
var a = jQuery(this);
var b = a.attr('href');
window.location = b;
});
});
</script>
$ta = mysqli_query($connect, "SELECT * FROM blabla");
while($row = mysqli_fetch_assoc($ta)){
$row['date'] = strftime('%d %b %Y', strtotime($row['date']));
$data[] = $row;
}
<input id="chat_rank" value="<?php echo getMyRank();?>" type="hidden" name="chat_rank" required/>