Questions tagged as 'javascript'

1
answer

How to prepare the contents of a JSON for download?

In a certain area of my site, the user can select a few rows from the database to export them to a JSON, after selecting all that they want an Ajax call is made to get the data of the same, however inside the return How do I download it? For exa...
asked by 28.03.2017 / 17:45
2
answers

Problem when using iframe SecurityError

Good evening, I have a form system, and my client wants to put the form on his site. The team asked me for an iframe for implementation in the portals and web-sites but when I did a test it presents the following error:    SecurityError: B...
asked by 29.03.2017 / 02:54
2
answers

Send value of a Javascript variable to PHP

I have searched a lot and done many tests but I am not able to send the value of a Javascript variable to a PHP variable. My case is as follows: I have a real estate portal and would like to get the information (more precisely the real estate...
asked by 18.04.2017 / 03:22
1
answer

Class Implementation in Javascript

Galera, I developed a short game of passing or procedural procedural (the code is ridiculous). I'm trying to improve it to put in my portfolio. I'm trying to implement with object orientation, would it be the case or just an improvement in the c...
asked by 18.04.2017 / 14:14
1
answer

Force a click on a tag with Jquery

I want when my <li> is clicked, it activates a click on the <a> tag inside it. <li class="tab card-panel z-depth-1 ativado historia hoverable"> <a href="#historia" class="active a">...
asked by 27.04.2017 / 19:33
1
answer

Mouse over the image display text and disappear with the image (vice versa)

I'm trying to make this effect with the mouse over the image, it adds and displays the text, when you take the mouse, add the text and display the image. I tried the following way, when I move the mouse over the image, it will be in "Infinite...
asked by 28.04.2017 / 03:45
1
answer

Increase property of an object within an array

I do not know what is the best way to implement this, I am trying with switch without success ... When I click the button, I want to increment the "qtd" property; choice=[ {"id":"1","name":"PRODUTO1","qtd":"0"}, {"id":"2","name":"PRO...
asked by 27.04.2017 / 21:09
2
answers

Create an element with a list of values entered by the user

I have a simple program, which takes the value of a id1 text box and after pressing the button it throws this text (function Enviar1 ) to another text box id2 . What I need to do is delete this id2 and show the text in...
asked by 28.04.2017 / 02:01
1
answer

Call Action via javascript

Good afternoon, I need help with a simple problem, but it's knocking me down. I need to call a controller method and pass two parameters to it, I did something, but it's not working, does anyone know where I'm going wrong? View <input...
asked by 13.03.2017 / 19:33
1
answer

How to log into a site using PHP + Javascript?

I am doing integration of 3 external systems that individually have their authentications. Each one does a people query, I have login and everyone password, and none has Web Service. I am a beginner in the subject of HTTPrequest, URLConnection,...
asked by 07.04.2017 / 15:53