Questions tagged as 'javascript'

1
answer

Hide DIV only in IE8

I have a small question, how do I hide a div (.laser) only in IE8? Preferably I would like to use only CSS or also JS     
asked by 15.04.2016 / 15:35
2
answers

How to load scripts within a partial in Angular.js SPA

Hello, I'm starting in Angular Js, and I'm doing a project in Single Page Application, in my index, I load some scripts and my ng-view, but in one of my partials, I need to load a script into it, it does not make sense to load directly into the...
asked by 02.08.2016 / 21:23
2
answers

Change image when selecting radio on form

Good evening, I'll provide an image and the code. I do not know how to do it, and I would like to learn it. NOTE: I do not want the image to change when I SUBMIT the form, I want it to change right after I click the option! Formulary<formmet...
asked by 04.08.2016 / 23:56
2
answers

Call function after choosing date

Good morning, I have an input text with a datepicker. The input has a validator function that changes the color of the input as the text is right or wrong. But in this case as I do not write directly in the input and just click on the date...
asked by 01.08.2016 / 13:37
3
answers

Remove input letters using Javascript and regular expression [duplicate]

I have an input field that gets a value. I would like to remove letters and special characters from the value of this input, leaving only numbers remaining. I think it would be easier to use a replace with a regular expression, but I can not....
asked by 07.04.2016 / 20:09
1
answer

Javascript + PHP

Hello, I need your help; I have my While in PHP listing all the materials, their quantities and a space where the Total is calculated as the quantity of the product increases. Here's my PHP: <?php $dadosMat...
asked by 03.04.2016 / 03:50
1
answer

Filter items in one list and show in another

I need to filter elements from a list and show them in a result list. I made the following code: var ele = []; $('.search').keyup(function(event) { var val = $(this).val().toUpperCase(); $('.title').each(...
asked by 01.04.2016 / 06:06
1
answer

Can anyone tell me why they are not loading this image (css)?

I'm doing an exercise here, but I'm not able to load the img/baladinha.jpg image. Note: I have not yet uploaded images to the body Code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtm...
asked by 05.04.2016 / 20:24
1
answer

Problems implementing the jQueryUI Accordion feature

And I did a quick search on this resource and found this page; link Then I created a folder with the name of GUJ and within this folder I put three files; One of JavaScript with the name of jquery-2.2.2.min.js and the other one with t...
asked by 06.04.2016 / 19:27
2
answers

Display Div if note is less than 8

How to make a script, what if some of these 3 dropdowns down is less than 8 to display a div <select name="pes21" id="privileges1" class="" onclick="craateUserJsObject.ShowPrivileges();"> <option value=""></option>...
asked by 06.06.2016 / 21:19