Good, I have a doubt and I can not find an answer anywhere. The fact is that I have in a script a loop for in which I have a condition with a break statement. What I would like to know is if there is any way of knowing if the br...
I have this regular expression <option\s?(value="(.+?)?")?\s?(selected="selected")?>(.+?)<\/option>
validating in the content of a page the option labels of a select that are created dynamically. I need to capture the value i...
I have a dialog box that shows a text and two buttons. How can I make the button to accept recharge the html file it is in or can reference an html file to load?
var cuadroDialogo = confirm("Que mente mas privilegiada tienes compañer@\n¿...
From a JavaScript function I sent a String with the following method:
zAu.send(new zk.Event(zk.Widget.$('$nuevaPeticion'), 'onNueva', resultado, {toServer:true}));
The string I send is the result. My intention now is to collect that String...
I have a function in JavaScript that validates data. The problem is that it uses alerts to warn when data is badly loaded. What I want to do is show Bootstrap modal windows to see the error.
This is what I did, which does not work:
v...
I'm having a lot of trouble getting the value of a promise . Basically I want the value that returns a promise to be assigned to a variable. For example
This example uses the following elements: vue. js , vuex , almacen is a syno...