Questions tagged as 'javascript'

1
answer

Unable to render a component in VueJS

I have the following component in VueJS, which I declare before the instance of Vue Vue.component('list', { template: ' <div> <ul> <li v-for="dato in datos">...
asked by 29.12.2018 / 04:11
1
answer

I can not do post Node js Router Express

I am using Express and Router to create the links of my api, but for some reason when I try to post it throws me an error 404 , but if you find me any get . When I check the browser console I can see that it does the post with the parameter...
asked by 31.12.2018 / 05:23
2
answers

AJAX, get the data returned through the POST request in PHP

I have a form with four selects, the selects send data using a POST method to a page called prices.php, once there, prices are calculated and an integer is returned indicating the price. The thing is that I would like to show the result insid...
asked by 18.12.2018 / 01:01
2
answers

disable popup blocking

I want the user to enter a value through an Alert. If you block pop-ups for the script. Is there any way to skip the data entry line if the user blocks pop-ups?     
asked by 06.03.2016 / 08:58
3
answers

get value of span

$('#usuarios').children('ul').each(function () { console.log(this); }); #usuarios ul{ display:inline-block; } ul{ width:100px; text-align:center; } <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.j...
asked by 14.02.2017 / 04:24
3
answers

Check several inputs

Having several inputs, if you would like to check all of them with the same pattern, how could it be done? an example var input1 = $("#inp1"); var input2 = $("#inp2"); var input3 = $("#inp3"); var input4 = $("#inp4"); var inputX = $("#inpX");...
asked by 01.02.2017 / 10:39
1
answer

php - do an autocomplete with PHP, MySQL and Jquery [closed]

I'm trying to autocomplete with jquery, and I've found many tutorials, some of which work for me, but at the design level I'd like to do it Bootstrap ... because of the responsive theme more than anything else. Something like that: Does an...
asked by 01.06.2016 / 20:25
2
answers

How to validate date ranges with nodejs

I have a start date and an end date. I would like to know how to perform a function that validates if today's date is within that range of dates.     
asked by 24.03.2016 / 14:53
1
answer

Convert an array of bytes into an image with JavaScript

I have the following situation. I am using a Google API to generate dynamic charts (Google Org Chart), my project is made in asp.net mvc, but this time I only use JS. The problem that arises is that I need to show an image that I have hosted...
asked by 22.11.2018 / 16:49
2
answers

Get today's date with jQuery datepicker UI

How can you get the current pre-selected date, with .datepicker () ? This is the code I have so far: <script> $(function () { $.datepicker.setDefaults($.datepicker.regional["es"]); $("#datepicker").datepicker({...
asked by 15.04.2016 / 19:28