Questions tagged as 'jquery'

2
answers

Enable JQuery

Sample Code What is missing, to reproduce the codes of these repositories in localhost mode? I added it in the script header: <script src="http://www.google.com/jsapi"type="text/javascript"> google.load("jquery","2")</script>...
asked by 07.02.2016 / 21:58
2
answers

Adding more input with jQuery

I have a simple form with 3 input. I need to enter a quantity in the input 'qtd', and so I need jQuery to multiply the table with the form, and change the 'name'. Example; If I enter 3 in the 'qtd' input will appear 3 tables with the follo...
asked by 30.06.2016 / 13:26
1
answer

Error sending Ajax data to script in PHP

I'm trying to get an email through an input, transmit to the server through Ajax, and server side has a script that uses the PHPMailer class to send an email, and the PHP code without receiving variable works, so the error probably in Ajax HT...
asked by 27.05.2016 / 06:03
3
answers

fill field select javascript / jquery

Hello, I need to fill a select field with the return of this function, in this example, the variable RES returns: <option value="">setor 1</option> Just this, I need it to become one of the options in my select field, but nothin...
asked by 19.05.2016 / 22:10
3
answers

Javascript - Problem in function that adds textbox

In my page in PHP and Javascript, I created a space that contains two Textboxes and a clickable label to add more Textbox, if necessary, to the numPart div: <div id="numPart"> <div class="inputMGM"><input name="part" id=""...
asked by 23.05.2016 / 15:45
2
answers

Passing a data id from a table to the modal?

Good morning, for a college work I'm trying to create a modal, for decision whether or not I want to delete a record from a table, in this table I have user information on a grid with new, delete, edit and checkbox to remove multiple records. In...
asked by 27.05.2016 / 12:55
1
answer

Capture Script Opening Time

Hello, everyone. I'm trying to create a project, whose function is to identify how long the page is open (ie if it's been 1 or 2 minutes open). When it is closed, save the time information in the database. However, I'm a denial with javasc...
asked by 18.02.2016 / 22:29
1
answer

How do you make a column stick when it reaches the ends?

In a two-column layout, if the first one is larger than the second (height), there will be a blank space instead of the second when you scroll the page to a certain extent. I want it when it reaches the end of the column it fixes instead of cont...
asked by 22.02.2016 / 22:48
3
answers

How to add attributes to an element that was created with JavaScript?

I created a elemento with JavaScript: $("<div />").addClass("placeholder").appendTo(element); But I can not give attributes to it, how can I do this? I tried the following code, but it does not work: $(document).ready(functi...
asked by 21.02.2016 / 02:01
1
answer

NaN Error in Calculation using Javascript after click submit

I have a problem here that I can not solve, in the script below perform a calculation of on the marked seats, so far everything is perfect the problem and when I put a submit button to send the data and finishes clearing the field of result givi...
asked by 12.01.2016 / 00:15