feeela

Potsdam, Germany

Age: 32

53m
comment Triying to learning PHP
Mistakes Commonly Made by PHP Developers: "Suppressing errors"
56m
comment How to set element style property in strict mode?
Do not set inline styles at all. Assign a class name and style that one; e.g. iframe.classList.add('hidden'); and CSS .hidden { display: none; }. This will save you some trouble in the long way.
57m
comment Use PHP to convert text file into array
@Malignus Are you kidding me? Have you even tried to open the PHP documentation? OK, next step – read it.
1h
comment Use PHP to convert text file into array
possible duplicate of How to create an array from a CSV file using PHP and the fgetcsv function
1h
answered Use PHP to convert text file into array
18h
comment Getting checkboxes values on email with method="post"
possible duplicate of Get $_POST from multiple checkboxes
Jul
19
comment CSS fails to load in IE10
@Michel In most cases the server in use is an Apache Webserver and you can configure that one through an .htaccess file; see the answer below.
Jul
18
comment How to check for empty value coming (Jquery)?
You should probably implement minimum length for the search query, so that the request is not send for search terms with just one or two characters. (e.g. if( this.value.length > 3 ))
Jul
18
comment How to check for empty value coming (Jquery)?
P.S. if #search_field is an input element, you can use this.value inside the event handler to get the input value. You may use if( this.value != '' ) to check whether there is some value in there…
Jul
18
answered how to rewrite directory using htaccess
Jul
18
comment PHP Regex; extract first matching ID in WordPress shortcode
@numediaweb Yeah, see updated answer…
Jul
18
revised PHP Regex; extract first matching ID in WordPress shortcode
added 559 characters in body
Jul
18
comment PHP Regex; extract first matching ID in WordPress shortcode
@numediaweb add_shortcode already does all the parsing – that is what this function is for.
Jul
17
revised Javascript unassigned var?
code formatting
Jul
17
comment How to reproduce the following effect in CSS, stuck at padding(I think) Bootstrap 3.0
<div class="section"> Really? You should start using HTML5 and proper tags with some semantic meaning. Like in <section>.
Jul
17
comment How To Use CSS To Style The Output Of JavaScript
That are three questions in one: How to change styles using JS; how to close a window using JS and how to create a progress bar…
Jul
17
comment How To Use CSS To Style The Output Of JavaScript
@freefaller Do not use inline stylesheets. The code is much more flexible if one sets a class name that contains the used styling. For example countdown.classList.add( 'hide' );
Jul
17
comment Parse page on PHP with delay while content been loaded via ajax
You need to execute the JS as well. I guess there are already tools for such things. Otherwise this question is much too broad and you should narrow it down to a specific problem. (Like "executing JS on a webpage using the libv8 engine" or something…)
Jul
17
answered PHP Regex; extract first matching ID in WordPress shortcode
Jul
17
comment Capture onClick of a Codemirror textbox
one probable cause is, that your inline event handler (that one defined using the attribute onclick="") is overridden through the loading code of CodeMirror. Here you have a perfect example why must not use inline JS at all. Set up your own click handler using addEventListener() which can add multiple event handler. See the JSFiddle link in my answer below for a working example without inline JS.
1 2 3 4 5