Questions tagged as 'jquery'

2
answers

Create buttons with jQuery and Javascript

If we want to create a button in HTML , we need a code similar to: <input type="submit" value="Numero parrafos" id="num_parrafos" name="Numero Parrafos"/> How would the code be moved to jQuery or Javascript? To avoid the need to mo...
asked by 03.06.2017 / 16:19
2
answers

Problems with the mozilla browser

I have a problem; I have a method to generate an excel from a table and it works but in Google Chrome, however I will try in mozilla and it does not work ... Any suggestions? CODE <title>Reportes Equipo</title> <meta chars...
asked by 17.05.2017 / 23:40
1
answer

How to make a correct if within a foreach?

I have an input of type text there is entered an id to verify if you existed or not. list.forEach(function(a) { if (b == a["id"]) { g["setstatus"](true, a["id"], f); return c(true) alert("Correcto!"); } g["s...
asked by 22.05.2017 / 23:52
2
answers

fill in input from dropdownlist selection ASP.NET MVC5

Hello StackOverFlow colleagues, I have the following question, how can I load or give a value to an input when selecting an option in a select or dropdownlist? my create controller is as follows: // GET: Collaborators/Create publ...
asked by 17.05.2017 / 15:24
4
answers

How to order IF and ELSE IF to check values taking into account the order in which they obtain

I have three text boxes called DATO1 DATO2 DATO3 , I would like to check that they were not empty, the problem that arises is that I want to check whether they are filled in order or not. (DATA1 -> DATA2 -> DATA3) Since, since I have th...
asked by 15.03.2017 / 13:25
1
answer

Refresh Select2 Jquery

I have a simple select2: <select id="material" class="form-control select2 select2-hidden-accessible" style="width: 100%;" aria-hidden="true"> <option value="1">PC</option> <option value="2">Raton</option>...
asked by 07.03.2017 / 10:39
2
answers

How to validate a switch and insert it into the database if the data in my db is Boolean?

I have a form to which I enter the data of the staff, but to give it a more elegant appearance in view of the user I have inserted a switch component to 'validate' if that 'character' will be active or inactive, which will be saved as true or fa...
asked by 03.03.2017 / 23:01
2
answers

Get input data using Jquery

I'm trying to get the value of an input, I do not want to use a button and I want to get the value when I stop selecting the text box in which the data is being entered, any idea of how to start ?? / p>     
asked by 01.02.2018 / 04:34
1
answer

Get the image encoded in base64 (jsignature)

I need to get the image with the signature made with the jSignature plugin, but when it comes to showing or getting the path / string / image encoded in base64, it does not work for me. <script src="https://cdnjs.cloudflare.com/ajax/l...
asked by 07.02.2018 / 09:06
1
answer

how to put letters inside a background image in Html5?

could you tell me or advise me how I can put the letters inside the image without doing this in the style of the letters: margin-top:-100; since if I do that affects the responsiveness of the image, the framework I use is Foundation.js. T...
asked by 14.05.2017 / 21:43