Answer the question
In order to leave comments, you need to log in
What level of math knowledge does a front-end programmer need?
And in general, for a programmer, what topics would it be desirable to study?
Answer the question
In order to leave comments, you need to log in
Engage in programming when there is not enough knowledge, then you will supplement them. Everything depends very much on the tasks, and their nature will be clear only when you encounter them.
with or without math, it's very difficult to become a programmer if you don't know how to use search
. At what level do you need to know mathematics and other exact sciences in order to calmly start mastering web development?
It cannot be denied that in practice a bunch of people more than have enough knowledge at the level of the 8th grade of a very high school.
I think a reasonable minimum is something like this: a little mate. analysis, a bit of linear algebra (say, as much as it takes to derive a formula for Fibonacci numbers), a bit of probability and statistics (Bayes formula, CLT), a bit of graph theory, a bit of combinatorics, a bit of logic (like how to write the negation of an expression with " and " and "or"). This is done in the first or second year at technical universities.
depending on what the word front-end means, if a DSP programmer is hard without mathematics
1. Remove extra spaces.
2. You are trying to select the first element before it appears there, you need to do this in the ajax function callback
$("#org_form").selectmenu();
$.getJSON("get_orgform.php", function(data) {
$.each(data, function(key, val) {
$("#org_form").append($('<option value='+val.id+'>'+val.name+'</option>'));
});
$("#org_form").focus();
$("#org_form:first").attr("selected", "selected");
});
<?php
$mysql_server = 'localhost';
$mysql_login = 'root';
$mysql_password = '';
$mysql_database = 'kom';
mysql_connect($mysql_server, $mysql_login, $mysql_password);
mysql_select_db($mysql_database);
$query = mysql_query("SELECT * FROM orgform");
while ($row = mysql_fetch_array( $query, MYSQL_ASSOC)) {
$row['id'] = (int)$row['id'];
$row['name'] = $row['name'];
$row_set[] = $row;
}
echo json_encode($row_set); //format the array into json data
?>
write smoothly
$( "#org_form:first").attr("selected", "selected");
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question