Questions tagged as 'javascript'

1
answer

Mouseout function on icon

Iwouldliketohoveraninputfieldwhenhoveringoverthesearchicon.html<divid="navbar" class="navbar-collapse collapse pull-right"> <ul class="nav navbar-nav"> <li><a href="contato"><span class="glyphicon glyp...
asked by 24.01.2017 / 00:06
1
answer

Jquery Validate with Jquery-Price-Format

How to leave the field mandatory when the value is 0.00 using jquery validate? Here is an example image: Asyoucanseetheimageabove,thepersondidnotenterthevalue,whenclickingtheacceptbutton,jqueryvalidatenormallyworksthefollowingimage: Nowth...
asked by 24.01.2017 / 21:14
2
answers

How to create option to see password typed in form [duplicate]

I'm creating a page to log in and access a site's administrative area. All this is being done in PHP , however I'm trying to create a stop that I saw in some sites that is the option to see the password that was entered. I would like...
asked by 23.01.2017 / 02:18
1
answer

problem with jquery mask in dynamic form

Well I've set up a dynamic form where I have the 'input' plots. It has already loaded 1 value. I have another 'input' called value, where I use the jquery mask. It works however when I change the value of the 'input' portions are created othe...
asked by 23.01.2017 / 18:04
2
answers

Return something in the query when there are no records

I'm making adjustments to a graphics system, basically there is a query in the database to bring values and popular the chart, but when there is no specific record does not return anything from the database and the graph breaks. I would like...
asked by 23.01.2017 / 18:30
2
answers

Improving paging scheme - PHP and Javascript

In the site that I took on a client, some pages have a paging scheme. For example, a news page showing a record of 100 news stories appears 7 news stories per page. The pagination will show me from 1 to 15. Here is the pre-defined paging code:...
asked by 04.11.2016 / 12:54
1
answer

Save data from a Game in Html5 and Javascript [closed]

I would like to know how I can cache a project of mine, because the game works normally, but when I refresh the page, all progress is lost, I would like to know how I can cache this progress is saved in the user's browser. Note: for examp...
asked by 03.11.2016 / 14:49
1
answer

Transition effect in menu with angle

I would like a transition effect in the menu when giving a ng show or ng hide (click the open button). <a class="sandwich panel" ng-class="{'open' : isOpen}" ng-click="isOpen=!isOpen; toggleCustom()"> <div> </di...
asked by 08.03.2017 / 15:31
2
answers

Strange error when adding [duplicate]

I have 2 input fields and I need to add the value of their contents when typing, but I noticed that when I type the first value in the first input it appears NaN only when I type something in the second input, it starts to add, so if I...
asked by 14.11.2016 / 21:21
1
answer

Problems with Javascript arrays

Well, I'm having some problems with the following code snippet: alert(lineOut[i].trim() + " - - " + lineOut[i + 1].trim());    Uncaught TypeError: Can not read property 'trim' of undefined (...) The array lineOut is a dynamically...
asked by 14.11.2016 / 23:02