Questions tagged as 'jquery'

2
answers

Format date dd / mm / yyyy in a jquery DataTable.net

How do I format this date 2016-10-23T20: 30: 01.017 in a Datatable.net in the Brazilian dd / mm / yyyy format? Controller: This relevant snippet of code is where I populate the object that is in the format ok: dd / mm / yyyy hh: mm: ss...
asked by 24.10.2016 / 17:48
1
answer

Validation of two selects

I have two fields select , one I have states and another cities. I need to select in a select a state, eg: São Paulo and in the other select only bring the cities of são paulo.     
asked by 28.10.2016 / 19:41
1
answer

Split "100000000000" in JQUERY [closed]

I need to separate all the characters of a string into an array, and I have a problem, my code is as follows var PISCampos = campos.split(""); When I send in the variable fields the following string: "011001000000". Everything works, and I...
asked by 20.10.2016 / 17:12
1
answer

Customize volume player bar html5

Friends, I have an html5 player with all standard controllers. I would like to make a volume controller in that same style: Mycodesofar <audio id="demo" src="http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3"></audio>&l...
asked by 31.01.2017 / 16:28
3
answers

Format date on page load

Hello I wanted to format the date of my form in the page load, because the date is coming from the database in international format (yyyy-mm-dd). I made this function to format my date, however I have 2 forms on the same page and both have in...
asked by 04.02.2017 / 14:36
2
answers

Calculate select field values for a form

Good afternoon everyone. I need your help. I have the following select multiple: <select id="precoFruta" multiple name="valores"> <option value="1.5">Macã - R$1,20</option> <option value="2.5">Uva...
asked by 28.09.2016 / 20:16
2
answers

JQuery - Next div when clicking on a link

I have 2 divs and when I click inside a link within the first div I need to get the value of the 2nd div, how do I do this? HTML: <div class="vei"> <span class="download"><a target="_blank" href='teste2.php'>download...
asked by 03.10.2016 / 21:38
2
answers

Popular DropDownList from another

Good morning, I have a DropDownList populated from a Model class. example: Processor, Memory, HD Afterclicking"+" I have to add another DropDownList with all values less than the value selected in the previous Combo. @if (Model.ListAtri...
asked by 08.03.2017 / 15:27
2
answers

Get the size of a textarea that was added dynamically

I create a modal box that has a textarea, when I click the Send button I need to know how many characters there are in the textarea. Trying to use JQuery to match this size did not return anything to me. How can I resolve this problem?     
asked by 09.03.2017 / 19:01
1
answer

jQuery - Using event click on parent and child div

I have two div. I'm trying to do the following. When I click on the parent div it should return the alert. But when I click on the child div nothing should happen. I tried something down, but I did not succeed. I know it did not work because...
asked by 26.08.2016 / 19:00