Questions tagged as 'jquery'

2
answers

Create object and send by ajax - Codeigniter

Hello, Can you help me create an object with this code and send it via ajax. console.log("cadastro-assessoria trabalhando"); //Variáveis $(document).ready(function() { $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {...
asked by 23.08.2017 / 18:41
2
answers

When changing select call perform search

I'm trying to change a script I have for weather, but without success, today the user selects an option in the select and clicks the button to perform the search, what I'm trying to do is use OnChange to shorten the operation. What I tried wi...
asked by 23.08.2017 / 15:04
2
answers

Return one of the functions in jquery.

Hello, is it possible to return one of these two functions that are inside another function separately? For example, depending on the situation I want to return the result of the function question and in another moment the function answer?...
asked by 04.08.2017 / 14:17
1
answer

AJAX Request in Bootstrap

Hello I need to open an external page through an AJAX request in my ROW in Bootstrap, but I'm not having success, I'm following the tutorial below, but it's not opening my page in the Bootstrap ROW, like I can do ? Are there any native Bootst...
asked by 04.08.2017 / 19:38
2
answers

Onkeyup event with Jquery

I need to do the following onkeyup of inputs that have class virgula_nao , obey the function: $(document).on('keyup', '#virgula_nao', function () { valor_do_input = valor_do_input.value.replace(/,/gi, ".");} }); I do...
asked by 30.06.2017 / 15:22
1
answer

Options from select to closest

How do I get all options (html and values) tags with jquery <select id="test" name"algumName"> <option value="1">1</option> <option value="2">2</option> <optio...
asked by 22.09.2017 / 02:29
1
answer

How to split a string with dynamic value?

I do not know if it's the split you use, in jquery, but I'm not having success. In my code I get the ID value that comes dynamically, I want to split the ID in two. One part up to character 16 and then the rest .. how can I do this?     
asked by 28.06.2017 / 15:10
1
answer

Login with redirect

I have a login form running with JQuery + PHP, I am imploding the option to redirect based on the url I want to receive via GET, as below: https://pt-br.example.com/?redirect=https://blog.example.com/ Problem is that I do not get receive vi...
asked by 28.06.2017 / 22:53
1
answer

Remove html element created dynamically in ajax success

I created an ajax request for success to dynamically create a new li element, however I also have a function in ajax to delete the registry and in success remove the li created. The problem is that, in all elements that were created dynamica...
asked by 22.06.2017 / 13:20
1
answer

How to clone a dynamically created element with jquery?

I need help cloning an element already dynamically created with Jquery and add +1 in the element's 'value' and 'name'. else if(valorSelect == 'listaSuspensa'){ $(this).parents(".questionario").find('.divResposta').html( '<div class="divList...
asked by 19.06.2017 / 19:30