Questions tagged as 'jquery'

3
answers

How to get data from a tag and calculate?

I have a jquery question. Is it possible for me to get a value inside a <span></span> tag that in this case would be an ex:%. 5% and make the calculation of a discount on a value? Example: Iwanttogetthe5%valuethatisinth...
asked by 15.09.2015 / 14:23
3
answers

window.showModalDialog does not work in Google Chrome, is there something equivalent?

Hello, I'm trying to open a modal in google Chrome ... The current application already uses window.showModalDialog for years, it works in IE ... I can not make changes using the html 5 dialog tag, there is some other method or a jquey / javascri...
asked by 13.11.2017 / 14:40
1
answer

Is it possible to use sub groups?

I have a form and it has three pairs of start / end dates. For each pair I validate if both dates are filled or none of them are filled, because it is not allowed to fill in the start date and not the end date and vice versa, in addition, I can...
asked by 30.01.2014 / 19:01
4
answers

Problem assigning HTML with .text () and .html ()

I need to insert the HTML that refers to a hyperlinked image received through an ajax function on the page, however for security reasons I can not simply insert directly, so I'm passing this HTML code through .text () for a created div, and only...
asked by 31.05.2014 / 16:50
0
answers

Development showing different types of calculations [closed]

I need help putting together a page, program, or application that does the following math basics topics and shows the calculations that the program did.    Object Transposition    Object rotation    Object Increase (independent width and h...
asked by 07.06.2016 / 18:54
5
answers

How to remove input and textarea borders from all browsers when clicked?

Look at the image to get an idea: When clicked this border with blue shadow is visible. I think it's standard for all browsers. Any solution?     
asked by 11.02.2014 / 14:35
7
answers

How to insert data in DB with jQuery / Javascript without using PHP?

I'm learning Javascript and jQuery and am wanting to make a small website to test the insertion of data into a database. I have no knowledge in PHP, I would like to know if it is possible to insert data into a database only with Javascript or jQ...
asked by 30.01.2014 / 00:24
3
answers

How to create functions in jQuery?

I would like to know the correct way, by following good practices, to create functions in jQuery. I've used it like this: var focusToEnd = function() { ... } And also like this: ; (function($) { $.fn.focusToEnd = function() {...
asked by 16.12.2013 / 20:23
3
answers

jQuery - Typical duplicate use situation of the same code. How to proceed?

Being here doing my sites in php/mysql/html/css and learning more and more about jQuery I got into the situation where I should use the same code for two ids distinct. How do I need to use the same code in two different p...
asked by 09.08.2014 / 20:05
1
answer

How do I return the waypoint_order in the Google Directions API?

I'm developing a route-mapping system using the Google Maps API. I have the points of origin and destination and between these points there are some points of interest. When tracing the route Google returns me the best route and mark these po...
asked by 29.01.2014 / 12:39