Questions tagged as 'javascript'

1
answer

Change img SRC with PHP

Well I have the img tag and when I click on a div with id="btnsiguiente" I change the path of img , doing this with javascript is easy if I create an array with the routes inside but if the routes of the I have images in a da...
asked by 19.01.2018 / 14:11
2
answers

Problem connecting to CloudMqtt with variables

Friends I have the following code in html, where I connect to CloudMqtt, the problem is that I am passing the user, password, port and host through the code. I am trying to make a form for the user to enter such data but I can not get it to work...
asked by 07.02.2018 / 22:10
0
answers

How do I save the results of an autocomplete in an input, django1.11?

My problem is that I'm using an autocomplete to relate a model in Django 1.11. Until now that autocomplete is looking for me, but I want the result to keep it in an input. That autocomplete I'm using it in a registry. I hope and help me. Vis...
asked by 09.12.2017 / 16:17
1
answer

select the province and the cantons

good afternoon I have the following code that what it tries to do is take the provinces and cantons, but I honestly do not know how to do so that when selecting the province, load the cantons that match the province ID <html>...
asked by 09.12.2017 / 18:54
1
answer

Select Start Date - End Date FullCalendar

Good afternoon, my question is this: When I click on "Open calendar" I need to obtain a start date and an end date and store them in a separate hidden input each, and once the calendar is selected it is done disabled What would lead to control t...
asked by 01.12.2017 / 17:45
0
answers

Error sending and saving AJAX and PHP image

In the script I have the camera on and then The Code that the image takes on a canvas. I see that it returns a base64 I remove ( data:image/jpeg;base64, ) that brings the text. I'm trying: Convert base64 into a file type image Sav...
asked by 14.12.2017 / 18:44
0
answers

Page Transition Greensock [closed]

I have been working with greensock for a while and I can not figure out how to achieve certain page transition that realizes pages like this link , when you go to menu or when you decide to change from home to contact and make that transition,...
asked by 14.12.2017 / 01:15
0
answers

Graphing with bandwidth in D3 v4

Considering this example make one with my own data in V4 version, keeping in mind that many aspects change. But I graph in a single bar and change the axis but not the graphic. How do I leave my graphic, two different bars and not one, What...
asked by 14.12.2017 / 11:51
0
answers

How do I convert a BLOB url: xxxxxxxxxx that I use in a picture preview a BLOB or FILE

I'm doing a project in which I want to upload images to a server, but before sending it to the server, a preview of the image is shown, for that I use the following code. It is worth mentioning that the user can choose several images and several...
asked by 19.12.2017 / 16:15
1
answer

Serve an image from Servlet 3.0 contentType="multipart / form-data"

Greetings community! I pose the following problem, I have an image in a BBDD (format bytea[] ) and I want to serve an answer to show that image in my HTML. I do not have routes or directories, just the image in the database. It looks som...
asked by 19.12.2017 / 16:28