
Uit de oude doos



I finally found the answer here:
https://stackoverflow.com/questions/9525128/jquery-set-radio-button
https://web.archive.org/web/20160421163524/http://vijayt.com/Post/Set-RadioButton-value-using-jQuery
Basically, if you want to check one radio button, you MUST pass the value as an array:
$('input:radio[name=cols]').val(['4']);
$('input:radio[name=rows]').val(['3']);
So no more of these pre/post v1.6 versions:
$("#radio_1").prop("checked", true);
$("#radio_1").attr('checked', 'checked');
$("input[name=background][value='some value']").prop("checked",true);
$("#radio_1").prop("checked", true).change();
$(this).attr({"checked":true}).prop({"checked":true});
$("[name='type']").click(function(){
$("[name='type']").removeAttr("checked");
$(this).attr({"checked":true}).prop({"checked":true});
});
// JQueryUI
$("#option2").prop("checked", true); // Check id option2
$("input[name='radio_options']").button("refresh"); // Refresh button set
Have a nice day!

Read this nice article here!
Puzzle games used to be a simple genre, most of us played them to kill time but puzzle games have become extremely popular on cell phones. Infact, Puzzle games are one of the most played games on cell phones. There are some high quality puzzle games out there but at the same time, there are alot of puzzle games that are of low quality. We have curated a list of high quality puzzle games that are underrated, these puzzle games are very addictive.
Or even better, just play Mini-Games yourself !!!
If you believe the reviews, you will either love it or hate it:


Have fun!
Slow server? Check if your query cache is set by querying:
mysql> show variables like 'have_query_cache'; +------------------+-------+ | Variable_name | Value | +------------------+-------+ | have_query_cache | NO | +------------------+-------+
How to enable this?
Find your my.ini … in my case in: C:\ProgramData\MySQL\MySQL Server 8.0
Add under [mysqld]
query_cache_size = 268435456 query_cache_type=1 query_cache_limit=1048576
More info here: https://dev.mysql.com/doc/refman/5.6/en/query-cache-configuration.html
And as you will notice this is 5.6 documentation. In my case this does not work, because I am using MySQL8.0 …. The query cache is deprecated as of MySQL 5.7.20, and is removed in MySQL 8.0.
The search to speed up my server continues….
What causes a plugin to throw an ‘the rest api encountered an error’ error in WordPress – site health – check?
Continue reading “the rest api encountered an error”Selectors are one of, if not, the most important parts of CSS. They shape the cascade and determine how styles are to be applied to elements on a page.
Continue reading CSS Stylesheet selectors