Questions tagged as 'javascript'

1
answer

Fix a javascript function

Greetings guys I have the following code function botonver(a, b) { imgnormal = "media/imagen/pdf.png"; tituloboton = "Ver PDF "; botonpdf = "<img class = 'clase2' src = '" + imgnormal + "' width = '50%' />"; iniciotb = 4; return "&l...
asked by 11.03.2018 / 02:08
0
answers

visibility problem in bazel: Target X is not visible from target '//: bundle'

When creating a package in bazel I got an error that says    Target \ bags: bags is not visible from target '//: bundle' Subpacket: load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_library") closure_js_library( name = "b...
asked by 11.03.2018 / 19:36
0
answers

Load an image in jsf with javascript

I want to upload an image with javascript since the image is generated from the server side and it needs to be loaded from the client side in jsf with glassfish     
asked by 06.03.2018 / 16:04
2
answers

How can I make the result of the operation in the textarea?

<script> function suma () { var num1=nume1(document.getElementById('num1').value); var num2=nume2(document.getElementById('num2').value); var resul=nume1+nume2; document.getElementById('resul').value; } <...
asked by 06.03.2018 / 14:59
1
answer

Error with the constructor and services

constructor(private pdpService : PdpService, private tostr : ToastrService) { } ngOnInit() { this.pdpService.getData(); this.resetForm(); } What is inside the constructor does not show me the form with which I am working. If I take ou...
asked by 06.03.2018 / 13:01
1
answer

How to assign the value of a combo to a value with javascript

I have a problem when assigning a value to a combo when I show it on my form. The code would be as follows. //tengo mi función de donde recibo los valores desde otra parte miFuncion=function(idorden,valor){ $('#idorden').val(idorden); docume...
asked by 08.03.2018 / 21:41
0
answers

Google Maps Api error

Error:    Uncaught TypeError: Can not read property 'firstChild' of null at   Object ._. Og (js? Key = AIzaSyANNd20FnR5uWOum1z4Oftu1Ip2Fj4yV-A: 88) at new   Sg (js? Key = AIzaSyANNd20FnR5uWOum1z4Oftu1Ip2Fj4yV-A: 89) at success   (exercise1.js...
asked by 08.03.2018 / 17:07
1
answer

C # (Fill Modal Bootstrap with Ajax function)

public IActionResult GetAssetsTree(AssetDataModel Parent_ID, AuditIdRow row,string workspaceId){ _assetService.CollectionName = workspaceId; _assetService.ParentId = workspaceId; return(Json(CreateTree(null,null))); } CreateTree...
asked by 05.03.2018 / 13:02
1
answer

JQuery Globalizations incorrectly returns decimals

good morning people. I am here to annoy you, because I have been fighting this issue for several days and I can not solve it. I tell you ... I am trying to convert certain numbers entered in decimals with the format corresponding to my cou...
asked by 05.03.2018 / 12:46
0
answers

detect duplicate php

Good esoty trying how I can do to remove duplicates in php or javascript in a textarea I want to insert data as numbers ej one one 12 123 and if the number repeats that it is someone will know something about the subject     
asked by 12.03.2018 / 04:31