Questions tagged as 'javascript'

1
answer

How to separate and manipulate select data with js

I have a forum with a select field that has many options to select, I would like to split those options by forum area by two select . All areas and sub-areas are in a single select . Example: <div class="blockrow"&g...
asked by 10.03.2018 / 23:59
1
answer

Sending two or more request by form with ajax or HTML

Good afternoon people, I want to know how I can send more than one form request to my Controller to make the relationship in the bank? I have a N: M relationship with User and Group, but when I submit it on the form it only considers one valu...
asked by 12.03.2018 / 17:48
4
answers

Validation for Phone type field

Would anyone have any validation for phone type field? Where the user can not put fictitious numbers in the field as sequences of number (99999 8888 123456) or something of the type?     
asked by 12.03.2018 / 14:58
1
answer

Download Automatically

I have a project that uses GoPhish for internal campaigns. This tool has an HTML editor that generates the page in question. The problem I need to be allocated on this page is an Automatic Download, but if I put a href or windows location for au...
asked by 07.03.2018 / 23:07
1
answer

Selected Combox in javascript

Good evening guys, I need some help, it's simple but I'm curled up. I have this combo inside a MODAL, it happens that the fields of this modal I populate everything by javascript / Json searching the data of a database. MODAL <!-- Grid c...
asked by 07.03.2018 / 01:27
1
answer

Capture the name of the author of a comment to be answered

In the Facebook / Disks feedback system, when we click to respond to a comment, it automatically places the textarea username of the comment we are responding to. I wonder if it would be possible to do the same with the comment system of WordP...
asked by 09.03.2018 / 23:31
1
answer

Browser back button does not work after history.pushstate ()

I'm working on a page that loads part of the content by javascript. I am succeeding and even generates and adds a new url to the browser history. function FiltraItens(criterio){ var UrlJson = baseUrl + "//Json/Listas/ListarItens/"; $.ajax({ m...
asked by 16.03.2018 / 13:34
1
answer

How to clear search results in a list after clicking a button?

I have a list of items and a search field that filters this list as something is typed in this box. I also have a reset button that clears the search box and focuses on it, but does not clean the filtered results based on what was typed....
asked by 17.03.2018 / 02:33
2
answers

Affecting divs in javascript [duplicate]

I have two div with #bodyProduct , and within each has div with a div with a #btn-extende . A% of parent product has a div fixed with overflow , hiding the rest of the contents of it, and the he...
asked by 16.05.2018 / 02:24
1
answer

Save the contact, email, and phone when clicking on a link

I wanted to know if this is possible because I have a client who wanted to do this, I believe it is not. As the title says, I need to click on an image (this on the cell phone, of course) it saves or at least go to the part of the cell phone con...
asked by 16.05.2018 / 22:21