Questions tagged as 'jquery'

1
answer

How to concatenate serialized data from a form to the javascript string? [closed]

How can I concatenate a serialized data variable var dados = $(form).serialize(); with a second variable, for example var x ="2222" ? Thank you for your attention! Horacio     
asked by 22.11.2018 / 17:59
1
answer

JQuery code does not run [closed]

I'm following a tutorial to do an AJAX function that detects the change in a <select> to load the information into another <select> . I did the same thing on the video, but mine is not working. <script type="text/ja...
asked by 08.11.2018 / 15:34
1
answer

Disable dates after the current date DataPicker

I want to disable the dates after the current date in the dataPicker. I know how to disable the previous dates with the line: startDate: "date" However since this dataPicker would be for the Birth Date field, I do not think the dates...
asked by 04.12.2017 / 12:32
2
answers

Modal does not open after using $ ('. modal-backdrop'). remove ()

I'm working with WebForm, using MasterPage. My child page is inside the UpdatePanel , via C # I call opening a modal within another modal, but each modal opening darkens the background, and when I say close the modal until more date only the...
asked by 07.12.2017 / 13:11
2
answers

Pull element that has a specific attribute with javascript

I have a page with four Divs, all with the class .coloritem: <div class="coloritemSelected" style="background: Vermelho;" onclick="javascript:showOptionsFor('Vermelho');">&nbsp;</div> <div class="coloritem" style="background...
asked by 11.12.2017 / 17:34
1
answer

Error: [object HTMLInputElement]

How do I resolve the error: [object HTMLInputElement] The code should save the typed text in the field, and even giving F5 get saved, eg: same as the script for that site. function digGet(){ // Cria um item "usuario" com valor "Thiag...
asked by 07.12.2017 / 22:20
1
answer

Capture the value of a Label [closed]

I need to capture the value of a label (c #) that has been inserted via Jquery, eg: <asp:Label runat="server" ID="lblIPLocal" Visible="true"></asp:Label> //Alimenta a Label $("[id*=lblIPLocal]").text("teste"); //Porem depo...
asked by 01.11.2017 / 17:41
1
answer

Validation of fields and data in table do not work

I want to validate the fields if they are filled in and check if the sum of the fields is greater than 10 and display the data on the table but none of this is happening. If I leave the empty fields and try to register , instead of showing t...
asked by 10.11.2017 / 16:24
1
answer

Delete inventory directly from the Jquery button

How do I do that when I click the remove button and activate the removefield () function, is the page called that would do this delete directly from the mysql database? I need only the part of Jquery for this, since PHP and Mysql I know how to d...
asked by 09.11.2017 / 19:36
2
answers

Checkbox show / hide button for generated lines

I have an array of generated checkboxes and table rows that have the same class-class starts at 1 and increments by 1 as more elements are retrieved. Succinct explanation: I need when I click on the checkbox with class = 1 , the line (...
asked by 06.11.2017 / 13:14