Questions tagged as 'jquery'

1
answer

How to create a .click () limiter in JS?

I'm trying to create a calendar in JS. First I made a <table> that will fill the <td> according to the days, leaving all available to click and select a certain day. The user selects a forward day and a return day (c...
asked by 27.07.2018 / 00:01
2
answers

Hide div when clicking on it

How can I do to click on the div and stop displaying it? I'm using onClick but it's not running. My div: <div class='alert alert-danger aviso' role='alert' style='width: 20%;'>Falha ao carregar os dados!</div> onClick: $('....
asked by 14.08.2018 / 15:35
1
answer

Row and column javascript / Jquery

I need a pure or jquery script that runs a row and column structure. Example, if the user type 7 I have to print the following structure: x xx xxx xxxx xxxxx xxxxxx xxxxxxx I tried to use for but only runs the line.     
asked by 15.08.2018 / 17:14
1
answer

Multiple bootstrap modal calls

Good morning. When you click a button, this button calls a modal, whose call happens twice, and I can not understand why this call is coming twice as you can see in the following image. Callingthemodel<p><ahref="#" id="btnDistrib...
asked by 17.08.2018 / 17:53
1
answer

Compares size of the selected files in the input with the PHP disk_free_space

I need a javascript script to compare the selected files size in input with disk_free_space (in my case disk_free_space('D:') ") of PHP , but it has to be before sending to the page that does I'm using upload of multip...
asked by 19.08.2018 / 00:48
1
answer

Insert text of a variable (resulting from an if) within a p after a button click

I am trying to validate the existence of a class in 3 ids to return a text that will be inserted into a p after clicking on the submit button of a form. I inserted the onclick button with the function as value. I do not know where I'm going wron...
asked by 18.08.2018 / 23:54
1
answer

Enable jQuery Validate (plugin) with ajax response

I've always found this plugin interesting because it leaves the form simple with subtle messages to the visitor. I decided to implement and fall into the following dilemma: How do I make the return of my AJAX activate some warning on my form?...
asked by 07.08.2018 / 20:26
1
answer

Jquery - use focusIn as a trigger to add a class

Opa Galera! okay? I'm making a form that should be split into two or more steps ... I had the idea to use a ".hide" class in the second "div" and leave it as "display: none;" in css. Then I put another class with "display: block;" my idea was to...
asked by 07.08.2018 / 19:03
1
answer

Find out which function is called in the click

I have a website in wordpress and I use Bootstrap 4. In the footer I have a link back to the top of the page. When I click on it it shows the page animation going up. I generated with javascript another link to go to the middle of the page...
asked by 06.07.2018 / 23:45
1
answer

Direct to page with option already selected

I need when the user clicks a link it already directs to a page where it has a select. So far so good. The problem is to direct to this page and one of the options is already selected. For example: a { text-decoration: none; color...
asked by 05.07.2018 / 15:12