Questions tagged as 'javascript'

2
answers

blank space between one div and another because of the hidden fields

When we have hidden fields between fields that are not hidden spaces are considered and the form looks bad. I would like to know if there is any way to remove these blanks from the displayed divs? <!DOCTYPE HTML> <html> <head>...
asked by 15.07.2016 / 00:40
3
answers

JavaScript color transition

Does anyone know if it is possible to make a JavaScript code so that a page on my site receives a slow transition where after a few seconds it stays in another color ... That is: I want it to start with opacity 0 and after 1 minute its opacity i...
asked by 27.06.2016 / 16:04
1
answer

Error requesting in javascript

I'm trying to make a request in this format $.get("http://meuurl.com/webservice", function (data) { console.log(data); }).fail(function (data) { console.log(data); }); But I get this error    Failed to load resou...
asked by 27.06.2016 / 20:26
1
answer

Change txt column

I need to change the contents of a column with javascript, so I do not need to use php with apache. Since I would run with html and javascript. It would be a file with 10 columns and would only modify the 5th column and that only the cell tha...
asked by 28.06.2016 / 17:30
1
answer

AngularJS value $ scope out of view

I have a question in the angularJs that I can not solve, my index.html is the following: <div ng-show="error" class="alert alert-danger">{{error}}</div> <div ng-show="success" class="alert alert-success">{{success}}<...
asked by 19.06.2016 / 00:22
1
answer

javascript does not return to concatenate link

I have a link that changes dynamically, the problem is when I do the concatenation does not set anything up <?php $user_id = 1; ?> <div id="link-bt"> <a href="javascript:void(0);...
asked by 21.06.2016 / 07:21
1
answer

Generate a mined file for each file within a folder

I configured the following task to generate a minified file: gulp.task('frontend-js', function () { return gulp.src([ 'bower_components/jquery/dist/jquery.js', 'bower_components/jquery-ui/jquery-ui.js', 'bower_compo...
asked by 20.06.2016 / 14:21
1
answer

hide option with javascript

Well, I have 3 select in my code, being tipo , outros and margem . When I set the MARGENS option to select tipo select margem appears on the screen. Until then everything ok. However, th...
asked by 07.07.2016 / 14:21
2
answers

Open modal window with php function going through JS

I need to click on a button, open a modal with a form for inserting data into mysql. I'm adapting a code I used earlier to display iframe, but when the modal opens it shows the page inside the iframe with the function in php. I need only within...
asked by 07.07.2016 / 15:40
1
answer

How to remove dynamically selected images before submitting

I would like to know how to remove selected images from the input file before submitting them, I am new to JavaScript, I have seen several examples, however without the implementation with the submit button and I do not know how get these valu...
asked by 13.06.2016 / 17:26