Questions tagged as 'html'

1
answer

Insert image in pdf with javascript

I have a PDF already created for which I want to insert an image, I tried with the library of jsPDF but I could only create a new PDF does not modify one already created, will anyone know any way to do it? This is what I have: var canvas =...
asked by 20.12.2017 / 15:31
2
answers

Save data of a select in the bdd

<legend><h3>FORMULARIO</h3></legend> <form md="post" action="agregarDatos.php" name="formulario" id="formulario" onSubmit="return limpiar()"> <div> <table>...
asked by 14.06.2018 / 16:55
4
answers

Problem in GET url in jquery [duplicated]

I am in the middle of a script of an html page, and what I need is to save in a variable what is in another html page. What I am doing is the following: ... más código... var datos; $.get('info/info_registros/','json', function(data){ d...
asked by 10.07.2018 / 08:54
2
answers

How to add the selected attribute to the option tag of a select

I would like to know how you should add the selected attribute to the option tag in a list. I was trying several alternatives with jquery or javascript and it has not left me, I do not know what I'll be confusing about. I leave the code so th...
asked by 12.11.2018 / 21:00
2
answers

Can not set property 'onclick' of undefined [duplicated]

I have this code and I get this error Uncaught TypeError: Cannot set property 'onclick' of undefined when I click on opening the modal I get the error, but I give it another click and it will be done with the error, but the idea is...
asked by 07.11.2018 / 18:09
1
answer

Help! difference between form action and $ http.post ()

Good morning, I have a form in which the values I capture in the need to send them to a controller. This mvc asp.net driver returns a new view as an answer. My question is, using $ http.post (), can I get that view that the controller returns...
asked by 12.11.2018 / 21:11
1
answer

Modify a pseudo element with jquery

Does anyone have any idea how to modify a pseudo element with jquery? In a menu bar of a web page, add pseudo elements to underscore the button when hovering, but I want to keep the button on which it is currently underlined. When doing...
asked by 22.11.2017 / 16:21
1
answer

Data not returned from a WCFDS

I try to get information from my database with a WCF DataServices but when I invoke it I get the following error:    Resource not found for the 'GetCustomers' segment. What could it be? [System.ServiceModel.ServiceBehavior( IncludeExcep...
asked by 06.02.2016 / 05:59
3
answers

Image does not react completely as a link

I have a menu on a web page but the logo image does not react as a full link, only a part of the image reacts to the click. According to me, it's because of the divs, but I do not know how to fix it. <nav class="top-bar show-for-mediu...
asked by 17.01.2017 / 22:39
2
answers

Problem filtering items in a table in real time

I have to do a modal within which you have to perform a search and go completing the input that is generated. The information I look for in an API, here is the code: import React, { Component } from 'react'; import logo from './logo.svg'; i...
asked by 05.02.2017 / 17:44