Questions tagged as 'javascript'

2
answers

How to bring a result from a .php page to another .php page using javascript?

The code below is working fine, but it shows the result on his submit.php page. <?php // submit.php echo $CODNOME; if($_POST['CODNOME'] == "001"){ $msg = "mensagem1"; } else if($_POST['CODNOME'] == "002")...
asked by 23.03.2018 / 18:28
1
answer

Drag a div and drop it, save its location in the database [closed]

Hello, I have the following code: <div style="width:200px;height:200px;background-color:red"> <div style="width:20px;line-height:20px;border-radius:100%; background-color:blue">1</div> <div style="width:2...
asked by 23.03.2018 / 19:02
1
answer

Ajax event does not execute with modal

I have this ajax. I call a modal, which in theory, when I clicked on an id, would execute that ajax, but it does not execute. $("#ClassificacaoId").on('change click', function () { valor = $('#ClassificacaoId').val();...
asked by 23.03.2018 / 15:53
1
answer

Google Charts Limit Line

I am facing a problem that I do not find the solution rs I need to add a boundary line in my chart, I'm going to put a picture below how it is now and how it should look. Can you orient me on this? google.charts.load('current', {'packages':['b...
asked by 15.03.2018 / 18:12
1
answer

How to add parameter in nodejs

I'm new to dev and would like to know how to pass a parameter via function. For example: function hello(name) { console.log("hello " + name); } hello("Fulano"); If I run node hello , it will return "Hello So-and-so." Ho...
asked by 15.03.2018 / 17:05
1
answer

React Native Maps - CSS HELP

I'm trying to make an icon look under the mapview in my project, like this: Butnowitlookslikethis: Code:<Viewstyle={styles.viewMaps}>{this.state.ready&&this.state.region&&this.state.region.latitude!=null&&this.s...
asked by 08.05.2018 / 22:35
1
answer

How to return the redirect URL with js?

I have a URL that redirects to another URL where Location is with the final URL, I want to return a var urlfinal only the final URL that is in this Location , not the URL that is heading there. Below is the closest I've co...
asked by 08.05.2018 / 02:54
1
answer

js loop does not show next item

My goal is to get a UL with your Lis and show it one by one. But not all at once. So, when the first one is displayed, it will launch display:none in it and play display:block in the next one displaying it. But...
asked by 08.05.2018 / 16:09
1
answer

Shopping cart - Product contactor alert within the same

Is there any jQuery plugin that does this kind of work in the shopping cart icon?     
asked by 02.04.2018 / 16:04
1
answer

How to do to one or more field within the screen execute javascript function

I have a javascript function that should be executed when any of the two fields are made any kind of change. At first only the #DataAbate field when a change is performed runs the script but I want the #AntiValue to also execute the funct...
asked by 14.03.2018 / 23:02