Questions tagged as 'javascript'

0
answers

I need to do line breaks in my word template, the paragraph comes in html

if(JSON.stringify(note) != '{}') { var zelda = JSON.parse(JSON.stringify(note)); var a = zelda.html_string.replace(/<(?:.|\n)*?>/gm, " "); var b = a.replace(/[\x00-\x1F-\x9F]/g, ''); var string = b; var string_split = st...
asked by 11.09.2018 / 20:47
0
answers

how to save several checkbox options in the same field of the bd

I need to know how to save more than one checkbox field option in a table field in the database. This is the way I form the chechkbox (they are the days of the week) h4 Dia de la Semana label.checkbox-inline input#checkboxdo(type='...
asked by 12.09.2018 / 01:03
2
answers

Add option to a select from a json

I'm trying to add more <option> to <select> from a json file. This is the form where I want to add the <option> : <div class="input-field col s12" id="materias"> <select id="rec...
asked by 11.09.2018 / 21:58
1
answer

asp: PlaceHolder and JavaScript

I'm working on a project in which I'm using asp: PlaceHolder and this tag contains a radiobuttonlist , but this radiobuttonlist is not working from HTML but rather what handling from the C #. The question I have is: Is it possible to acces...
asked by 25.09.2018 / 14:08
1
answer

How to get the fakepath from Internet Explorer

I have a problem implementing a web page in the IIS. I load a file from the website, the problem is when I try to load it from internet explorer, because if I charge it with chrome it does not happen to me ... The difference that you notice,...
asked by 13.09.2018 / 14:37
2
answers

Put Alert of confirmation in this code

Hello, someone could help me how to put an alert that first tells me if you want to confirm whether or not in this code THIS IS MY JAVASCRIPT function Fagregartecins_inc_67(){ //alert("Incumplió rta1"); tec_inc_id_tecni...
asked by 25.09.2018 / 12:51
0
answers

Error running javascript without iframe

I have a problem running the same script on 2 different pages, what happens is that on a page with iframe this runs normally, I skip all the alerts that I put (the alerts I put them to see until part of the script is runningbat.) Now when I u...
asked by 13.09.2018 / 19:14
1
answer

Access a JSON chain with Javascript, Node.JS and Watson

I have this result in JSON that I receive from IBM Watson: { "document_tone": { "tones": [] } } This result, I keep it inside a variable in Javascript. My question is: How can I put a condition in Javascript, so that each time I get...
asked by 13.09.2018 / 15:05
0
answers

Show PHP code within JS

I would like to be able to display PHP code within my code within my example. In my select command to my code Js 1 or 2 as is the case selected, si $Select1 = 'buenos dias' y $Select2 = 'buenas tardes' I would like to show this when the re...
asked by 11.09.2018 / 16:21
1
answer

Error in ElectronJs and Vuejs

I am developing an application with ElectronJS and Vuejs but when I want to connect it and download data with Firebase it tells me this error: Step part of Vuejs code: const remote = require('electron').remote const main = remot...
asked by 11.09.2018 / 14:35