Questions tagged as 'javascript'

1
answer

Modal of bootstrap does not open

Good, I'll leave my code here, I checked and nothing, I do not know why it does not work I thought it was something that had written the script wrong but I do not know why it does not work and I copied it from the bootstrap page just changing th...
asked by 06.09.2017 / 21:23
1
answer

Show selected objects in a modal with jQuery

I am doing an exercise in which you must select the months you want to pay by selecting the corresponding checkbox. The table is generated from a query to the database. Therefore, this can have one or several records so I do not know how to assi...
asked by 07.09.2017 / 05:00
0
answers

watermark with library tcpdf

I need to add a watermark to a pdf generated with tcpdf someone knows how to do it or has some basic example, help please, I have this example but I need that after the text I put an image as a watermark require_once('tcpdf/config/lang/eng....
asked by 24.03.2018 / 16:57
1
answer

How to change the contents of some tables when selecting options in multistate / table

My question is the following, I have a code where I load the names of a database in a drop-down: <div class="pure-u-4-5"> <div class="pure-control-group"> <label id="idtype" for="multi-state">Type</label> <?php sele...
asked by 28.08.2017 / 07:15
1
answer

How to insert a text box at the end of all elements with Javascript (WITHOUT Jquery)?

Good morning , I tried to make a calculator to make purchases but I want to add text boxes every time I need to add a new product my problem is that when I use "innerhtml" to add a box of text is deleted all the values of the previous text boxe...
asked by 26.08.2017 / 00:20
0
answers

JS: add data to the colors of the lines so that it affects thickness

I am currently experimenting with this code and would like to add data behind each generated line so that it also affects its thickness. I am new to this tool and I would like support. var nwalls=100; var walls=[]; var hgrad; function...
asked by 03.09.2017 / 13:41
1
answer

How can I join two parts of a Json object into one?

I am developing an application with ionic 2, in the page1 I request information from a database, and return an array with objects with a structure like the following: data = [{ id: "Id del registro", propiedad1 : "mi propiedad 1",...
asked by 04.09.2017 / 15:10
1
answer

Replace css and js links with the content of those files? [closed]

I am using a platform on which I can create my own sites, but not only can I write HTML, I have nowhere to put CSS or JS files. I would like to know if there is a plugin or any tool that I can use so that instead of having the links to the cs...
asked by 01.08.2017 / 23:20
1
answer

queries do not return null when no data is found

I have a question, I am making a query in the first case the data exists in the node and manages to enter .on and recover the data, in the second case the data does not exist in the node so it does not reach to enter a .on and I do not recover a...
asked by 02.08.2017 / 04:45
1
answer

ng-change () inside a marker (ngMap) in Angularjs

I'm working with sockets, where I send coordinates every time (lat, lon) and to show these coordinates I use ngMap, when I have a first coordinate it is shown on my map but if I get a second coordinate the marker is duplicated, is where I want t...
asked by 02.08.2017 / 15:58