Questions tagged as 'jquery'

1
answer

How do I send a selected Data in SELECT2 by method = POST?

I have the following code: <label>Cidade</label> <select class="form-control select2 select2-hidden-accessible" style="width:100%;" tabindex="-1" aria-hidden="true"> <option selected="selected" value = "0">Selecione<...
asked by 30.03.2017 / 19:33
1
answer

Quantity of products to be differentiated in shopping cart

Colleagues. Forgive me if I could not express what I really want in the title, because I could not find a correct definition but explain it here. I have a shopping cart where the products are listed according to customer purchase and are s...
asked by 27.03.2017 / 18:31
1
answer

Confusing code - what is the meaning?

When I have this code: {{ 'js/gourmet.js' | static_url | script_tag }} What does it mean? Where do I find this static_url ou o script_tag ? Is this jQuery?
asked by 28.03.2017 / 14:50
1
answer

How to write and update HTML file with Jquery?

So, I'm getting HTML content from an external site and rendering in my hybrid application. So far so good. I have the following code so far: $.ajax({ url: '{{SuaUrlAqui}}', headers: {'X-Requested-With': 'XMLHttpRequest'}, type: 'GET',...
asked by 17.04.2017 / 16:30
2
answers

Send value of a Javascript variable to PHP

I have searched a lot and done many tests but I am not able to send the value of a Javascript variable to a PHP variable. My case is as follows: I have a real estate portal and would like to get the information (more precisely the real estate...
asked by 18.04.2017 / 03:22
1
answer

Class Implementation in Javascript

Galera, I developed a short game of passing or procedural procedural (the code is ridiculous). I'm trying to improve it to put in my portfolio. I'm trying to implement with object orientation, would it be the case or just an improvement in the c...
asked by 18.04.2017 / 14:14
1
answer

Force a click on a tag with Jquery

I want when my <li> is clicked, it activates a click on the <a> tag inside it. <li class="tab card-panel z-depth-1 ativado historia hoverable"> <a href="#historia" class="active a">...
asked by 27.04.2017 / 19:33
1
answer

Send post with multiple values through JQuery

I have this JQuery code to send a Post. var formTest = document.createElement('form'); formTest.setAttribute("method", "post"); formTest.setAttribute("action", ""); var post = document.createElement("input"); post.setAttribute("type", "hidden"...
asked by 18.04.2017 / 02:02
1
answer

Mouse over the image display text and disappear with the image (vice versa)

I'm trying to make this effect with the mouse over the image, it adds and displays the text, when you take the mouse, add the text and display the image. I tried the following way, when I move the mouse over the image, it will be in "Infinite...
asked by 28.04.2017 / 03:45
1
answer

autocomplete UI with PHP does not accept accents

Colleagues. I'm using the autocomplete UI for an application, it works fine until the moment the word has accents. The bank is configured as: ThecodeIamusingis:<inputtype="text" class="form-control" id="txtBuscar" name="BuscarProduto"...
asked by 27.04.2017 / 22:45