Questions tagged as 'jquery'

1
answer

Loading a document ready after AJAX response

Good evening, I have a page where clicking on a button clears a div and in it loads a form with a date field (more specifically with the DateTimePicker plugin). In that same file I have a script that loads the datetime configuration to put it in...
asked by 18.05.2017 / 01:39
2
answers

Login MySQL, PHP and AJAX

I am developing an application with Phonegap . I would like that when I log in, I will check if it exists in the database. In case you have to save the email address ( email ) in localStorage . HTML Code: <div class="login...
asked by 15.05.2017 / 12:23
1
answer

Delete options from different select

I have 3 selects , I want that when one is chosen, it is deleted from the other 2 but without deleting the first one. Is it possible? <select class="sel"> <option value="1"></option> <option value="2"></opt...
asked by 12.01.2017 / 22:09
3
answers

How to reload data table when closing a modal?

I use datatable to list some data brought from a database which I have a button to edit, that when I press it shows me a modal window, which I look for the form that was just updated that table is updated without having to reload the page...
asked by 14.02.2017 / 23:48
2
answers

Bootstrap table - reload records according to ajax json object

I'm creating a website with Bootstrap . Initially when loading the page I use PHP to insert the results in the cells of the table. So far so good. Then I use a button with a modal menu of Bootstrap which has a series of fields that are i...
asked by 04.01.2017 / 17:52
3
answers

How to clean a data to take another one in jquery?

I have a select in html that when I choose an option automatically by means of a ajax it goes to php and it responds me in json and it shows me the corresponding data of that id of the option I chose in...
asked by 02.01.2017 / 23:48
3
answers

Get the attribute of a button with jQuery and Ajax?

$(document).ready(function() { $(".eliminar").click(function(e) { e.preventDefault(); var id = $(this).attr('data-id'); //alert(id); $(this).closest('.holder-cesta').remove(); //Esta parte no me funciona....
asked by 10.10.2016 / 20:39
1
answer

Prevent entry of keyCode = 222 and keyCode = 186

I'm restricting the entry of certain characters to input type="text" , I need only numbers can be entered, I have almost ready but the only problem is that I can not prevent the characters of the keyCode keys == 222 and 186 they are entere...
asked by 06.11.2016 / 00:01
3
answers

Hide a 'div' from another view with jQuery

Next, I show you the code with the views "Title" and "Cover" plus the jQuery code of the "new" button HTML 5 (Grails) code View: "Titling" <!DOCTYPE html> <html> <head> <meta name="layout" content="layou...
asked by 01.08.2017 / 20:51
1
answer

How to remove the styles when the if conditional is false

And now how can I do the reverse functions?, by clicking I want that when the div cont-fieldBusq-relat is display: block; I want you to remove the styles that were assigned when we clicked on it, the function that I would like it to be is to g...
asked by 02.04.2017 / 15:19