Questions tagged as 'javascript'

1
answer

How to Style Current Page Navigation Link

The above image is a print of the menu that I'm developing that got the style I put right in CSS. But only when I pass the mouse over the link, that is when I do :hover which was what I was doing in that print. Now I want...
asked by 21.07.2015 / 16:57
2
answers

Limiting number of selected values

How can I change the script below to work as I need it to make the following limit the number of markings or be able to select in the max 2 list items if it exceeds the maximum allowed value of an alert message. > <html> <head>...
asked by 29.07.2015 / 17:11
2
answers

jQuery fetch all checked checkboxes from a div through a click of a button

I need to search all checkboxes CHECKED of a <div> where you have another <div> daughter who is, has a <input type="checkbox"> via jQuery . The structure follows: <div class="metro per...
asked by 20.08.2015 / 20:05
2
answers

Async function returning before result

I have this function in JS, using Forge library, for key pair generation. The problem is that when trying to use the async function to perform the generation, the function is returning before generating the result. function generateKeys(keySiz...
asked by 12.11.2018 / 16:58
1
answer

Placing Javascript in Div [closed]

I have this code to show this date <script language="javascript" type="text/javascript">// <![CDATA[ now = new Date document.write ("Esquenta Black Friday Somente Hoje " + now.getDate() + " do " + now.getMonth() + 1, ) // ]]></...
asked by 08.11.2018 / 14:38
2
answers

Create a dynamic object recursively

asked by 22.11.2018 / 20:48
1
answer

Jquery validate with type button

Hello, I have a form that uses direct javascript to send the data, and its type is button. <button type="button" id="login_submit_patient" class="btn btn-focus m-btn m-btn--pill m-btn--custom m-btn--air uppercase"> But I can n...
asked by 22.11.2018 / 17:19
4
answers

Query with javaScript (EcmaScript)

I have the following objects and I need to check which candidates meet the requested job. var vaga = {"language":"javascript","courses":["information systems","programming"]} var candidatos = [ {"name":"luis","course":"programming","language...
asked by 22.11.2018 / 19:18
2
answers

Problems with javascript when reading getElementByID in IE and Chrome

I have an interesting problem and did not know of this condition in IE. There is in the site that I got for maintenance, a call like this: document.getElementByID(...) . Well, what happens is that IE is not getting ID , but Name...
asked by 14.09.2015 / 21:05
1
answer

Exchanging Html.Action () for an Ajax request

I have a method that returns a ActionResult called through a Html.Action() directly on View using Razor . This method is used to render a ComboBox of devExpress with the data that I send from a SQL...
asked by 17.12.2018 / 11:28