Questions tagged as 'jquery'

3
answers

Validate file extension

I have a code that checks the size before sending the file, I would like to know how to check the file extension along, for example, I need these extensions .jpg, png, .gif, .pdf, .txt, .doc, .docx . Would I have to do in the same code?...
asked by 24.08.2017 / 22:51
3
answers

List value of checkbox items

How do I list checkbox values when the user select and when not selected does not appear in the list? / p> <select class="form-control" id="list-lugar"> <option value="0" disabled="true" selected="true">-</option>...
asked by 27.04.2018 / 19:34
2
answers

setInterval of 5 seconds locking the browser

I'm developing applications using jQuery / Ajax and it has to refresh the page every 5 seconds, it works. But if I start using the application the browser starts to crash because of the code, how to fix this problem? Follow the code: <sc...
asked by 19.08.2014 / 17:15
1
answer

Controller message for the view

I did this: [HttpPost] public void CadastraUsusario(string _nome, string _usuario, string _email, string _nivel_acesso, bool _ativo) { using (RupturaEntities db = new RupturaEntities()) {...
asked by 02.09.2014 / 20:28
2
answers

Why does not this menu work in the mobile version?

I was looking for menu templates / layouts and found that pretty cool, but when I passed google to the cell phone view when I clicked on the menu the 1st ball would come and go, instead of coming all of them and staying there until I clicked t...
asked by 05.05.2015 / 21:37
1
answer

Perform mathematical calculations with values from a PivotTable

I have a table in form-wizard that as soon as I click on "add item" I call a function and it adds a row in the table to add a new item to be purchased by the client. This table with each click adds an item has an autocomplete function in the...
asked by 26.06.2014 / 20:08
1
answer

Adding inputs to a report with more than one table!

I am generating a report and it has several tables. In jQuery I have to add 2 inputs of each table, the problem is that it only adds the one of the first table. I tried to use next() , but it did not work. Follow the HTML code: <td...
asked by 03.07.2014 / 21:47
2
answers

Insert a select into a td by double clicking it is possible?

Hello, I have a dynamic table that works fine, but since the field is an input people can type anything, but I wanted to limit this edition using the option options, the table I use the id="tblEditabel" and in the rows which will work with...
asked by 18.02.2017 / 14:20
1
answer

request time in AJAX

The problem is that I need to load the load only if the request takes more than 2 seconds. I'm doing this: $(document).ready(function () { $(".loading").show(); $.ajax({ url: 'APP?pagina=<...
asked by 08.03.2017 / 15:28
1
answer

How do I access elements of an iframe from an external page?

I need to access an id that has inside an external page that I'm rendering in an iframe on my site. Permission error is occurring. How do I resolve this? This is the link on the page: link Fiddle: link Observe my X-Frame-Options....
asked by 20.05.2014 / 17:27