Questions tagged as 'javascript'

1
answer

Lock the body scroll up to a certain height

Good afternoon guys, my problem is this: When I open the mobile menu of my site, the height of the scroll remains large (the total size of the page). And I can not add 'fixed' position in the body because my menu has a height greater than 100...
asked by 14.11.2016 / 17:53
1
answer

How to retrieve the new name of a file in an automatic "Drag and Drop" upload

I found a system of upload of images Drag and Drop on the internet that makes upload of the image in a specific folder and renames the file with a random name without having to send the form. Why can not I retrieve the...
asked by 06.10.2016 / 21:35
2
answers

How to format a very large string (arrange text)

I have an object with an attribute of type String that has very large text, and I need to organize this string so that the text is organized and more beautiful. I would like to know if there are any JS plugins that solve my problem or...
asked by 15.12.2016 / 19:35
1
answer

Sub-menu effect with jquery

I'm trying to set up a menu system with a sub-menu in jquery, but when I click on a menu, all the sub-menus open, how do I solve it? $(document).ready(function() { // Fecha Sidenav $("#Close_Sidenav").click(function() { $('#...
asked by 16.12.2016 / 18:33
1
answer

Limit the value of TextBox by taking into account the sum of its values

I have the following table in which are included 3 textbox's corresponding to percentages, which I realize is that when the user inserts the values in the first 2 TextBox's, the 3rd value appears with the remaining amount of the subtraction of 1...
asked by 17.12.2016 / 17:50
1
answer

Change Title to display tooltip

I'm doing email validation using toolTip to display the message. If the first one puts the registered e-mail the search is made and the message is displayed that the "Registered E-mail", if it changes the e-mail to one that is not registered the...
asked by 18.12.2016 / 18:25
1
answer

Message repetitive script java

I am doing a login system and it is happening that every time the user presses the connect (send) button the message accumulates, and the goal was to only appear once every time the user clicks the connect button . (document).ready(functio...
asked by 16.12.2016 / 00:09
1
answer

Check if a specific item is selected in one of the combos on the page

I have a page in asp classic with several combos and all with different names and a button that saves all selected values. I need to check in javascript if any of these combos has the "Canceled" option selected and give a confirmation message sa...
asked by 20.09.2016 / 20:12
1
answer

I need to put a link in my Google Maps

I have a map on my site, where the location of the establishment on the map has the logo, instead of the default Google Maps PIN, a PNG image appears. I need this image, when clicking, to take a specific URL within the site itself. I already...
asked by 19.09.2016 / 23:03
1
answer

Open javascript with Select Option

I want to open openVit () and openVilla () when the select option is pressed. <select> <option href='javascript:;' onchange="abrirVit();" value="canto">Vitória - Praia do Canto</option> <option href='javascript:;' onchange...
asked by 19.09.2016 / 22:26