Questions tagged as 'jquery'

1
answer

Get values typed into inputs inside datatable

I have a datatable and in each line I have 3 inputs (text, datepicker and select) and a button, which will send PHP, to record what was typed or selected in the inputs of that row. What I'm trying to do is grab the information from the lin...
asked by 12.09.2017 / 15:43
2
answers

Get date-ref of different buttons

I've created a system where it displays data from a mysql table via the datable plugin. One of the data is a modal. The javascript code takes data-ref , which contains id . This id will be used in future% queries...
asked by 31.08.2017 / 22:59
1
answer

Ajax stacking requisitions

I have a web page that displays a list of people registered in my DB. Each name is a hyperlink that, when clicked, an Ajax function opens a modal containing information specific to the person and leaves the radio buttons selected according to th...
asked by 30.08.2017 / 21:16
3
answers

Pick up Label text only if Label exists

Follow the HTML: <div class="tab-pane" id="etapa3"> <div class="well"> <div class="row informativo"> <!-- Aqui vai ser inserida a tabela via Jquery --> </div> </div> &...
asked by 30.08.2017 / 21:47
1
answer

i18n grails and jquery with different languages

I'm using the Language Internationalization (i18n) feature in a Grails project. Some of the tags are inserted directly into the .gsp files and another part is in the JS (Jquery / Bootstrap) scripts. These in the scripts need to use a third-party...
asked by 15.09.2017 / 17:01
0
answers

My mobile menu is fixed at the top, but the dropdown follows its scroll, what to do?

Good afternoon I am creating a responsive website manually, so I created 2 menus, one to appear on the desktop and another to mobile version. These menus are not on top, but about 150 pixels away. I then decided to create a script that allows...
asked by 15.09.2017 / 23:44
1
answer

Insert the value of a Javascript String into a file

I have the following Javascript code: // Converts XML to JSON // from: http://coursesweb.net/javascript/convert-xml-json-javascript_s2 function XMLtoJSON() { var me = this; // stores the object instantce // gets the content o...
asked by 15.09.2017 / 16:17
0
answers

MediaElementJS playing the cache instead of the current song

I have the following code: $(document).ready(function(){ var stream = 'http://somdomato.com:8000/stream.mp3'; var nocache = ''; $('#tocando').click(function(e) { e.preventDefault(); }); $('#player').mediaelemen...
asked by 17.09.2017 / 03:31
1
answer

Execution of setTimeout with replaceWith

I have the following code that executes a query in DB with ajax. So when in success I add append instead of replaceWith, the function works perfectly and runs every 5 seconds, but when I insert replaceWith instead of append, the function only ex...
asked by 29.08.2017 / 17:13
1
answer

How to clean Google Blockly?

I am using in my Google Blockly project and need that when I click a button, empty the mounted structure that is in memory. How can I do it? link My example: I need to insert a button to delete everything in the workspace <!D...
asked by 18.09.2017 / 13:48