Questions tagged as 'jquery'

2
answers

$ (document) .on (event) does not work?

I am adding objects dynamically, and I find that $(document).on('click', function(){//código}); does not work for me: / I also tried with: $(".tr").off('click').on('click', function(){//código});     
asked by 04.01.2017 / 06:43
2
answers

Send file by AJAX [duplicated]

I am trying to send a% file% by ajax , but the input file returns an error. How can you send "file" files by PHP ? THE HTML CODE <form id="form" enctype="multipart/form-data"> <input type="file" name...
asked by 05.01.2017 / 19:46
1
answer

Return a variable that is within an ajax [duplicated]

I am looking for a way to show a child.rows but the only way that can be shown is with a return direct. then I made this code so that outside of ajax I take those values but it does not give me, I hope you can help me. CODE...
asked by 20.01.2017 / 20:31
1
answer

Encrypt data sent by url

I am sending a id by url to the index.php page that loads certain data respectively of the id that it obtained through a session variable, the detail is that if the user 1 with id 1 changes the id 1 to id 2 in the url will consult data t...
asked by 22.02.2017 / 20:33
1
answer

Translate DatetimePicker from Bootstrap

Good morning, I am making a form in which you have to fill in several fields, including a calendar to choose a date. For this I use DatetimePicker. I get the calendar to work, but I can not change the language (I have tried changing the order of...
asked by 02.05.2017 / 08:34
1
answer

Navigating a JSON

I want to take the information of this json ( link ) and show them in an HTML and show me only the data of the team that it has as clantag TRCIO, until now I have managed to show me the data, but it shows me those of all the equipment. How could...
asked by 05.10.2016 / 13:38
2
answers

with jquery how to execute a function when clicking and when clicking again execute another function?

I have not used much jquery and I can not do this: I have a li with id="play1" when I click on it: play a song and when I come back click on "play1" to pause the playback. so always, play / stop. <li id="play1"> $( "#play1" ).click...
asked by 07.10.2016 / 12:17
1
answer

to toggle divs by time or with click

I'm working with the following js: $(document).ready(function () { var allBoxes = $("div.boxes").children("div"); transitionBox(null, allBoxes.first()); }); function transitionBox(from, to) { function next() { var nextTo; if...
asked by 09.09.2016 / 09:43
2
answers

Ajax - PHP - Error status change button

I have a table where I show users with a column / id of "state". Where you will have two values: color green (activo, estado=1) or color red (inactivo, estado=0) . I have the following code to change the state but it shows me the in...
asked by 14.11.2016 / 10:44
3
answers

problem with asp.net and jquery

Good day, I have a small problem, I hope you can help me: I have a form in ASP.Net, where the user's data is loaded, these fields are disabled so that they can not be edited, but I have a button with which to enable them, the problem is that whe...
asked by 04.04.2017 / 17:03