Questions tagged as 'javascript'

1
answer

Convert an html to pdf [closed]

At the moment I develop a app web where I have to generate a pdf from the information that is in a form of Html , the question is that this form would be hidden, at the moment I searched information but php is used whi...
asked by 22.06.2017 / 01:48
1
answer

How to apply an event to an array of canvas objects?

I have to make a diagram in HTML5 canvas and for them I make arrangements of rectangles with strokeRect. However, these elements must have events and detect when they are clicked and change color, can someone give me a clue on how I can apply an...
asked by 07.07.2017 / 17:33
2
answers

Write html with Javascript

I have a web page, which I want when I click on a button to activate an html code (I mean more buttons) to make a menu. How can I do that? I have this, but when I click the button, it deletes the whole page and puts only the button that I activa...
asked by 04.10.2018 / 13:20
2
answers

I need to select a cell from a p: dataTable and then load the data into another page [closed]

I need to select a cell of p:dataTable and then load the data of the selected cell on another page     
asked by 09.05.2016 / 20:39
3
answers

Form of a JSON [duplicate]

To explain my problem better, I have this JSON: { "Person": [ { "Id":1, "Type":1, "Extra": [{ "Number":88888888, "Code":506 }] , "Personal":...
asked by 10.09.2018 / 14:11
3
answers

Prevent the display of NaN in an input with jquery

I have an onchange function that validates a difference in dates: $('#fechaFinal').on('change',function(){ $('#ndias').val(''); var fechaInicio = new Date($('#fechaInicio').val()); var fechaFinal = new...
asked by 08.02.2017 / 18:35
3
answers

how can I control my scroll of a Chatroom? [closed]

my problem is that the scroll remains in the messages that already passer and does not go down when there is a new message I want to control the scroll as well as the facebook if someone knows how to do that please tell me Thank you. &l...
asked by 22.02.2017 / 21:13
2
answers

delete certain parts of a text text in javascript

let's say I have several divs that contain an example text <div> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut vel ante diam. Donec vitae magna metus. Curabitur at lorem non augue mollis molestie. Nam augue nisi, dignis...
asked by 19.10.2017 / 23:24
3
answers

How can I validate that an INPUT TEXT does not accept special characters? ?!)) $ &. '! "@ &

I have a function: <input class="tf w-input" id="txtMsj" name="txtMsj" maxlength="256" placeholder="Identificación" type="text"> <input class="bn naranja w-button" onclick="goto('frm')" value="Siguiente"> goto( doc ){ var txtMsj...
asked by 15.11.2017 / 02:00
3
answers

Div divided circular [closed]

They asked me for a job in which there is an area where certain notifications are shown, the design is more or less like this, the circle will be colored depending on the process the user is in (the states control them from the database), but I...
asked by 02.06.2017 / 18:26