Questions tagged as 'javascript'

1
answer

Changing html hierarchy using jquery for responsive site

I'm making a responsive website when I came across a problem, in the tablet layout the menu gets hidden so when you press the button it appears by making a slide, but the client wants the logo to appear on top of the other menus. In the layout f...
asked by 02.05.2016 / 20:19
1
answer

Problem copying an html block when you click a button

I was able to make that when I click the add more fields button, the form is replicated. But the create button started to do the same thing as the add + fields button and not its function of inserting the data in the database. Could you help me?...
asked by 01.05.2016 / 21:14
1
answer

Generate random class with JQuery

Oops! It was pointed out that when the function was executed, the class that #body would receive would be random among existing ones. Example: $(document).ready(function(){ $('#random').click(function(){...
asked by 24.06.2016 / 08:04
2
answers

How To Rewind A List Of Strings Sorted

Let's suppose, I click the More button and I go ahead with A - Z . Now I want to go back from Z - A clicking the Minus button. Code: var i = 0; var j = 0; var n = 0; function prox(){ j++; i += 20;...
asked by 25.06.2016 / 02:14
1
answer

Emoticons in post system

I have a system of postings on my site, but there are very few options for 'personalization' of the posting by the user. Then I would like to insert the option that the user inserts emoticons into the posts. When I refer to inserting emoticon...
asked by 21.07.2016 / 20:17
1
answer

Login with Javascript and PHP - Dando Reload alone

I have a PHP login system with JS that is giving me a little problem ... When I click on login, the password is not typing or typing, it returns me to a window warning me if I have not found the password, field blank ous and logged, only the mes...
asked by 22.07.2016 / 15:50
1
answer

Highlight mouse click position with DIV overlay

I'm not able to do a DIV overlay in the place where the click event occurs. I can map the coordinates of the mouse and store these values, but I need when I click on the page, to highlight this place with a circle or a note. I can do this highli...
asked by 21.07.2016 / 21:29
1
answer

How to avoid the function of the ajaxStop () method in a single ajax call?

I have the following problem: There is a page where I use $ .ajaxStop to give a $ .unblockUI (modal plugin), this closes the modal "loading ..." whenever ajax page requests finish loading, $ .ajaxStop serves as a "standard" for all document r...
asked by 21.07.2016 / 14:05
1
answer

Format HTML5 input calendar with javascript

I'm doing a form with validation in HTML5 and I came across a bit of a bad situation, when I put type="date" when I move the mouse over the "settlers" to manipulate date or ascend to the calendar. The problem is that the formatting is hor...
asked by 23.06.2016 / 21:36
1
answer

Screen size browser window without scroll

I would like to know how you can make a page that does not have a scroll and that matches the exact screen size. How can I do this?     
asked by 23.06.2016 / 19:51