Questions tagged as 'javascript'

2
answers

Calculation result in JS returning R $ NaN

I made a calculation form using JS. The point is that there are fields that are mandatory, where the user is required to choose an option with value because the calculation is combined. When it does not choose the required option it returns N...
asked by 04.08.2016 / 20:37
2
answers

How to create a mobile menu button with this effect? (preferably without js)

I was trying to set up a mobile site with a menu almost identical to this link just by changing the colors. until I had abandoned the project, I do not have it now, so I'll post it later in the jsfiddle. From what I've seen his js code is:...
asked by 31.07.2016 / 03:04
1
answer

Error while trying to connect the application database also in the browser

I'm trying to test the sqlite database of an app also in the browser, but using web sql , I got to research and test some things, but so far nothing has worked. My% cc_defile is thus, and when I run the application on the emulator /...
asked by 04.08.2016 / 05:53
1
answer

XML download by browser, without opening the file [duplicate]

I need the system to download an XML file, release the file itself without opening it in the browser, how?     
asked by 03.08.2016 / 13:39
2
answers

Gulp Watch does not update

Hello, I am a beginner in GULP and I have the following problem, the code below, which simply minifies JS and CSS , works perfectly if you run the functions in default and run GULP . The problem is that with Wa...
asked by 03.08.2016 / 03:11
1
answer

Pass variables as parameter when loading page

I have a function that marks the place where a mouse click was made, putting a red circle on the click and saving the coordinates of where this click occurred. Script that displays the mouse position when you click the page. $(document).rea...
asked by 03.08.2016 / 16:55
1
answer

Capture document width with scrollbar

Good afternoon, I'm making a responsive website where I use CSS with media="screen" and jQuery. Problem: However Javascript and CSS do not recognize the same document width value when the page has a scroll bar (when I test in Chrome usi...
asked by 03.08.2016 / 20:44
2
answers

Doubt with using jquery.maskMoney with asp.net mvc

I'm using it to form a value, but it's not working, I have my partial view, this way: _Posibilidad.cshtml @model Generico.Dominio.TB_POSSIBILIDADE <script type="text/javascript"> $(document).ready(function () { $("VALORAP...
asked by 29.07.2016 / 18:16
4
answers

Send JavaScript array via Ajax with jQuery to PHP file

I want to send an array via jQuery using Ajax to another PHP file, however I do not know how to access it in PHP. I'm sending by GET I do not know if it would be ideal either. nome_receita is a variable and ingredientes i...
asked by 29.07.2016 / 18:19
1
answer

NavBar effect similar to Twitter

How can I effect this effect on navbar? The same is present on Twitter. When the page is in home, there is a blue bar in the name of the page in navbar, the same applies to other pages;     
asked by 31.07.2016 / 02:44