Questions tagged as 'jquery'

1
answer

Children jquery selector

<td class="day base-a" data-month="11" data-year="2018" data-day="05" data-maxday="4"> <label>5</label> <div class="price-tot"> <div class="tb-col"> <span class="price-cal" ></spa...
asked by 30.10.2018 / 18:04
0
answers

Get a JS to a Page load parameter

I have this function in javascript that is within a .aspx that opens a .aspx called Aplicaciones_Usuarios.aspx $(document).ready(function () { $('#MasterContent_ui_rprApp_ui_hlkApp_0').click(function (e) {...
asked by 29.10.2018 / 21:40
0
answers

Requested JSON parse failed

I am learning how to send and receive data in json format through ajax and jquery. Only that when sending and receiving them I always have parse error but I already tried to make many modifications and I still can not solve my problem, could you...
asked by 30.10.2018 / 00:19
0
answers

Get the value of an input and save it in php variable?

I hope and you can help me !!, I need to get the value of an input and  save it in php variable !!, this is the code I have, is commented! <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script&g...
asked by 29.10.2018 / 18:44
0
answers

create direct download link with jquery or javascript for mobile

e had a recurring problem when creating direct download link in a multimedia web that has been created which is responsive and is used mostly for mobile devices but now using direct download links always send me to where I have The content is st...
asked by 01.11.2018 / 14:00
0
answers

Problem when capturing a value which comes by POST

$(document).ready(function(){ let selectCards =$('#cards'); let idSelectCards = selectCards[0].id; let selectEstados = $('#estados'); let idSelectEstados = selectEstados[0].id; let selectDistritos = $('#distritos'); let idSel...
asked by 01.11.2018 / 15:08
2
answers

I do not get the javascript function in jquery of a JSP

I have a js file that contains this function: function Relleno(variable){ if(variable!=""){ return true } else{ return false; } } Then I have a JSP where I use this function in my Jquery <script src="../js/funciones.js"&...
asked by 27.10.2018 / 10:03
1
answer

How can I send data from ajax directly to a php method?

// what I want to do is pass directly parameters to (method) that is in a .php file, the problem I have is that the parameters reach the file but the function does not directly affect them what should I do? // jquery.js file $('#distritos')...
asked by 26.10.2018 / 16:05
1
answer

get text of a span inside a div - Jquery

HTML <div id="mdCalendar-body" class="mdCalendar-body"> <table class="cal-table"> <thead><tr><td class="days-title">L</td><td class="days-title">M</td><td class="days-title">M</td><...
asked by 26.10.2018 / 15:00
0
answers

AJAX, JQuery and JSON in Wordpress: errorThrown: SyntaxError: Unexpected token in JSON at position 0

I am trying to use AJAX on my Wordpress site and I can not get data from the server. I've reduced my code to something super simple to see if I find the error and nothing! add_action('wp_ajax_nopriv_vc_ajax_test', 'vc_ajax_test'); add_action('...
asked by 29.10.2018 / 20:10