Questions tagged as 'jquery'

2
answers

Is it possible to put a timer before running a post / reload on the page?

I have the function below that at the end of the operation of a reload on the page in order to update the statuses. Would it be possible to put a wait time to run this reload? function ConsultarChangeDll(numero) { var status = $("...
asked by 17.04.2018 / 14:33
1
answer

Regular expression for numbers, commas and periods

I need to get a specific content from a string that is returned in javascript. I thought about getting his match with regular expression to get exactly the numbers, points and commas of the monetary return that has in part of the text, the pr...
asked by 16.04.2018 / 16:28
1
answer

PartialView not loading in select2 pattern

I have a problem when I call my PartialView, it loads all the data in the View but not in the select2 format, in case it would be when clicking on the input the data appears, it is currently loading all on the screen. ExofaViewthatIuseandloa...
asked by 17.04.2018 / 16:40
2
answers

Tag change with javascript

I want to make the p tag be replaced by the img in the hover, already bringing an image that I have in the directory. Is it possible to do or have to do something like that? If possible, in the same function. Code: $(funct...
asked by 19.05.2018 / 14:56
2
answers

Regex or Replace in Jquery

How do I change a string by adding new content? Example: <div><span id="number">1195555666<span><div> <script>var newNumber = $(#number).replace('(11)95555-6666')</script> console.log(newNumber); But...
asked by 20.05.2018 / 15:46
2
answers

Dynamic redirect with CSS or SASS

I have a website, and I'm working responsiveness on it. I have a mobile version, similar to a Web app, in a specific directory within the project. Currently when the screen resolution is less than 768px, it automatically redirects to the mobile...
asked by 18.04.2018 / 19:53
1
answer

Apply jQuery mask in Modal

I have the following modal: <div class="modal fade" id="anti_fraude_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal...
asked by 05.03.2018 / 17:40
1
answer

Pass array of images in FormData ()

I need to add a array of images in FormData , but only the first image is passing. I know the problem is in the JS code, because when I send the form directly to the php page, it works fine. JavaScript var url = $(this).attr...
asked by 01.03.2018 / 23:35
2
answers

Ignore strings that contain "@" - jquery

See the function below, it is used to change the first character of string to upper case and the other characters in lower case, in fields that have class lower This function ignores strings smaller than 4 characters, and now I...
asked by 08.02.2018 / 20:15
1
answer

Jquery animation in toggle style

When you click a button a div appears with the effect rising to the top, with Jquery. I need to click it again to disappear with the opposite animation - descending. Since I understand little of JS, I could only do it with two different b...
asked by 05.04.2018 / 19:55