Questions tagged as 'javascript'

1
answer

Display balloon popup on a Label

I would like to display a small message to the user, style those when passing the mouse, if I were not mistaken it would be the attribute    alt="my message" However I'm using asp.net-mvc-5 and I'm finding it difficult to do. My message,...
asked by 11.11.2016 / 20:25
1
answer

Validate if the person is of legal age

Good afternoon, how do I check if a person is of legal age with the jQuery.validationEngine plugin? I need the form to only validate if the person is over 18, if it is under 18, it is blocked.     
asked by 08.09.2016 / 17:11
1
answer

modify chosen and ckeditor

Chosen How to modify the data-placeholder value: using javascript ex: <select data-placeholder="Para:" name="cd_aluno[]"id="cd_aluno" multiple class="chosen-select"> change the date-placeholder with js CKEditor How to di...
asked by 06.09.2016 / 19:34
1
answer

Not saved information in mysql when I click on one of the radioboxes of the form

I have a form with several text fields, radiobox, selectbox, and I want to save the information in the table of the bank that I use. But I'm having a problem when I click on the first two radios boxes , and I can only save when I cl...
asked by 06.09.2016 / 05:35
1
answer

Fixed Action Button on MaterializeCSS does not work

It just does not work, the up button appears but none of the type buttons work. I have already tried using materialize via CDN and local but there was no change. I believe that there is no error in the code because after much trying and not work...
asked by 09.11.2016 / 02:00
3
answers

Open onclick function in Select option

I need to open the following onclick in the "Select" option. How to open an onclick on the select option like this: I want to do this here: <a onClick="Select(0, this);">span1</a> Work like this: <select&...
asked by 08.11.2016 / 01:23
1
answer

Assign background color in the DIV when sorting in alphabetical order in jQuery

Good evening! I'm trying to build a list as follows: <div> <div>id</div> <div><a id="orderStatus">status</a></div> </div> <div id="container"> <div class="listStatus" style="bac...
asked by 08.11.2016 / 21:31
1
answer

Webpack error with bootstrap-loader

I'm having trouble implementing the bootstrap-loader in the webpack. I get this error output on the console:    ERROR in   ./~/css-loader!/~/resolve-url-loader!/~/sass-loader?sourceMap!/~/bootstrap-loader/lib/bootstrap.styles.loader.js!./~/ b...
asked by 05.09.2016 / 17:52
3
answers

Searching in an array in javascript

How to do a search within an array in javascript? The solution I use is a gambiarra. x = ['a','b','c','d']; if ( x.indexOf('a') != -1) { console.log('Verdadeiro'); } else { console.log('Falso'); }     
asked by 04.09.2016 / 05:26
1
answer

Error installing babel npm package in my project

I'm trying to install the babel package in my project. But when you run the command: npm install --save-dev babel-cli , an error occurs in the tar.unpack installation. See the picture: Already tried to update the npm, update the node...
asked by 05.09.2016 / 16:16