Questions tagged as 'javascript'

1
answer

Stop Form Action with Ajax

What I want I add fields dynamically by telling you how many rows I want to add. I wish as soon as the user clicks to submit the form, I do a check using Ajax to see if any of the reported data has already been registered. If this is true, it...
asked by 28.10.2014 / 13:46
1
answer

Mounting array with checkbox

I would like to mature the idea below of sending a JavaScript variable to asp and with the choices in array , I am only able to send a choice at the moment: <!DOCTYPE html> <html> <head> <script> function getEleme...
asked by 27.10.2014 / 22:03
1
answer

Do form output print out of id using JavaScript language?

I have a small form that gives a result based on the input of two values via form. I just want the impression of the result to be made out of the form of the result. I've tried everything and I can not. There are 3 possibilities: The result...
asked by 18.10.2014 / 16:58
1
answer

Adding SVG object inside a div dynamically

I have an SVG element created from a clone. What I wanted was to insert this clone into a new div. I used this code. function clone(){ var newrect = document.getElementById('rect').cloneNode(true); document.getElementById("svg"...
asked by 20.10.2014 / 13:32
1
answer

Pass JSP value to Action

I have the following jsp below, in it the user chooses the state, while choosing the state my javascript shows in an alert with the information I want to pass to the Action to follow the validations and takes the user to another action " -stat.d...
asked by 21.10.2014 / 15:45
1
answer

JS function using jQuery bugging with Foundation 5

I am generating a random number when I click on a button and after generating this number I enter as the value of a input . But when I click the button everything follows normally the value is generated, so much so that I use the...
asked by 21.10.2014 / 20:40
3
answers

How to assign values to Bootstrap buttons

Bootstrap (how to make the menu bar assigning values to the buttons..ex .: I created the "Home" button, how can I assign a value to it when I access it I go to the start button page ...)     
asked by 05.08.2014 / 22:06
1
answer

Ajax is returning an array and now, how to separate?

My Ajax request is returning 3 records from a PHP query (yes, I'm sure), so we have arrays of type: array 1 ["João", "19/05/1986", "masculino", "Programador", "Campo Grande"] array 2 ["Maria", "15/05/1988", "feminino", "Enfermeira", "Londres"]...
asked by 04.08.2014 / 14:31
1
answer

Cordova - Error - Cordova Platform add android

I installed the cordova, I installed the android SDK, but by the time I boot the Cordova Platform add android command it gives the following error. link I saw in the docs in Cordova that I need to add something to the PATH    You may...
asked by 04.08.2014 / 06:24
1
answer

Retrieve checkbox values with ValidationEngine

I'm trying to find the best way to send my fields via submit for PHP to validate. I have a form with 4 checkboxes where at least one has to be valid. I'm using the Validation Engine, in PHP I work mainly with the Name field and the...
asked by 06.09.2014 / 20:50