Questions tagged as 'javascript'

2
answers

Writing in a secondary window

What I want to do is a document.write () in the main window, and another in the secondary window that opens. I know it will be silly but I've been a while now and I'm not capable. What I am doing is something like that, but it is clear that i...
asked by 02.12.2016 / 14:39
1
answer

Error with path in Symfony and Ajax template

I am trying to test a form with symfony with a code copied from the internet. It is about two selects, province and city, in which the values of City depend on what is selected in the Province, but when I load the page it marks the following err...
asked by 02.12.2016 / 14:20
0
answers

Problems with static routes with node, express

Good afternoon, I have a problem but I do not give with the joke, I'm linking a file called appAllMarket.js to my html but can not find the path, the problem that I think is that it is in a folder called models outside the folder...
asked by 19.04.2017 / 23:02
1
answer

Return empty the value of a text field cloned in Javascript

I am using VUEjs 2. First steps in programming. Any other better way to achieve this would be appreciated. I am creating a form creator here I have the code in jsBin link I need help in creating the checkboxes . Thank you very much in advance....
asked by 19.04.2017 / 19:41
1
answer

Correct way to add another javascript to PHP form?

Trying to implement a possible solution to my previous entry I came across a code that (they say), works for what I want, but I mess with PHP and I do not know how to add another javascript to the php form that I already have (and has a js alr...
asked by 20.04.2017 / 03:09
1
answer

How do I modify the attributes of an input, which has been created by means of an ajax response?

I am trying to modify the attributes of an input that I generate dynamically and that I show on the page through ajax. function traigo_form(){ $.ajax({ data:{enviado: true} type: "POST", url: "localhost...
asked by 05.12.2016 / 22:07
0
answers

Change attribute in link_to by a select

I have a select that a provider takes. <%= form_for @claim do |f| %> <%= f.select :provider_id, {}, {include_blank: "Seleccione opción"}, {id: "provider_selector_resend", style: "width:100%;"} %>    Then on the same page...
asked by 01.12.2016 / 14:53
2
answers

Check positions of an array and replace them with the optimal algorithm

Good evening, The problem with the next piece of code is that I need to save the positions of all the repeated values that are found, for example: Using the FIFO algorithm marcos = [4,1,2] cadena = [5,1,2,3,4,5] The f...
asked by 01.12.2016 / 04:24
0
answers

Probelma with library effects wowJS

I have a problem with wowjs if it does the animation effects but it does not detect the scroll, it loads all the effects when loading the page, does anyone know why this is ??? This is part of the html view. In the section who is where the cl...
asked by 29.11.2016 / 18:06
1
answer

Initialize a datatable without knowing the columns

How can I initialize a datatable from a json array that I do not know how many columns it has? json = '[["DAT","XXXXXX","000000000","MA_","","21-07-2015","00:04:43","0","354345","94131","Datos","0.00000000"], ["DAT","XXXXXX","000000000","MA_"...
asked by 27.02.2017 / 17:19