I have the following code:
HTML:
<select class="form-control btn-form" id="select-category">
<option selected hidden>Selecione uma categoria:</option>
<option value="anu1">Anunciante1</option>...
I know little about javascript and on my page I have a button that, when clicked, calls a div . So far so good, but the function takes the id of the button, that is, if I have more than one button on the page and need to call...
My page basically has two divs , one right and one left, the two are with style="position: fixed;" , that is, if I scroll the page, these two divs are side by side, fixed, always visible.
But when the div of the left...
I'm trying to make a call Ajax once the page loads and one every 2 minutes.
The 1st and 2nd works but do not have 3rd call and so on.
<script type="text/javascript">
function CarregarJSON() {...
I'm doing a calculation with the following information:
Style, experience, height and weight.
With height and weight, I take the user's BMI and compare it with their experience.
With the style, I define the type of board.
First, I get t...
I'm trying to use a script to make an image fade if the size of the resized window is less than 400px wide, but it's not working ...
Script:
<script type="text/javascript">
$(function(){
if($(window).width() < 400) {
$('#facebook,...
The problem is this: I have the following html:
<div class="page-left-col">
<p>
<img src="/localhost/Department%20Pages/Communications/News/LearnStorm%20Rally.jpg" style="display: block; margin: 20px auto;" width="40...
I have the following file:
mensagem 1
mensagem 2
mensagem 3
mensagem 4
I would like to read this file using the JavaScript language, and on each line, assign to a different variable.
Hello, I'm developing a simple application that takes the geographical coordinates of google maps api. It's working, but I'm not getting the values that are in the other function. In fact I just want a way to get the Latitude and Longitude value...