Questions tagged as 'javascript'

1
answer

How to make a for in a tag script?

Well, I'm trying to create a page on my site that shows me the title, description, and location of the log of some occurrences. When I access the page, I load through%% all occurrences with their proper parameters. The occurrences are sent withi...
asked by 01.07.2018 / 03:43
1
answer

Someone help me, I wanted to make sure my div does not go off the screen!

Good morning, so I made my div draggable / moveable, but I wanted it not to be able to leave the screen, I wanted it to have a limit when I move. Someone help me? Thank you in advance //Make the DIV element draggagle: dragElement(document...
asked by 01.07.2018 / 06:51
1
answer

How do I search for something in html css js?

So I would like to be able to search for items in html, without a bank, because the items will not be added dynamically, they will already be pre-established, as I am a beginner I have no idea how to do this, if someone can help me I thank you in...
asked by 01.07.2018 / 07:36
2
answers

______ qstntxt ___

Calling priority Nav, a lib that places the executing items inside a new drop-down, called "More", this dropdown is dynamically created in pure javascript as soon as it's needed. In it a button appears with class js-nav-toggle . I'm trying out some things, and I would like to change some things on that button, with pure javascript, I'm doing a test trying to find the js-nav-toggle class that is definitely in the document but only gives undefined.

link

I use this code that works fine on other elements that are written manually from the document. %code%

What could be happening?

    
______ azszpr310823 ___

The variable %code% is a list of nodes of class %code% :

%pre%

You can not change the list at once. It is necessary to iterate every element of the list, and you can do this %code% :

%pre%

But if it is only 1 element, you can use the index %code% :

%pre%

You can also use %code% (if it is only 1 element) or %code% (1 or more):

%pre%

While %code% also creates a list of nodes equally to %code% , and if it is only 1 element, you also use the %code% index:

%pre%

Or:

%pre%

However, if it is only 1 element, it makes more sense to use %code% :

%pre%

If it's just 1 element, it does not make sense to create a list of nodes.

Example:

%pre% %pre% %pre%
    
______ ___ azszpr310805

Hello @John,

Do you wanna change the color of priority nav class, it?

Via css u can do:

%pre%

or

If u can use jquery, try the following:

%pre%     
___

Calling priority Nav, a lib that places the executing items inside a new drop-down, called "More", this dropdown is dynamically created in pure javascript as soon as it's needed. In it a button appears with class js-nav-toggle . I'm trying out...
asked by 29.06.2018 / 16:32
1
answer

Mouseover and Mouseout with animate.css in use (wobble)

I can not make Animate.css wobble work as soon as my webpage loads, as I'm trying to make a mouseover / mouseout effect and it's not working. The object starts with the wobble fired, while doing the mouseover, this stops the wobble animate. When...
asked by 21.05.2018 / 17:05
1
answer

___ ___ erkimt Materialize Javascript autocomplete ______ qstntxt ___

I'm using the materialize framework. According to the documentation, I can use "autocomplete" in the form tag according to the Materialize Form link. My question, is this I want to create a javascript for autocomplete of extensions, example: @ gmail.com, @ outlook.com, @ hotmail.com. When the user says "@" this list appears. Below my code

%pre%

Javascript:

%pre%     
______ azszpr300761 ___

As I researched, autocomplete does not yet have a feature to show suggestions only after a certain user input. I saw that it's on the list of plugin upgrades.

If I understand what you need, follow an alternative ...

Note: The plugin's default operation has been modified.

%pre% %pre% %pre%
    
___

I'm using the materialize framework. According to the documentation, I can use "autocomplete" in the form tag according to the Materialize Form link. My question, is this I want to create a javascript for autocomplete of extensions, example: @...
asked by 21.05.2018 / 18:43
1
answer

how to download text in div

Please remove the site address ... Two questions: How to position div aId2 under div aId1; How to download text in div depending on image change; Example: texto1 aparecer com imagem1 texto2 aparecer com imagem2 texto3 aparecer com...
asked by 22.05.2018 / 00:40
1
answer

Date End after Date Start Input Form

I'm doing a system and tried using javascript to ensure the user does not give the SUBMIT with the end date before the start date. Almost everything went fine, but input DATE_END is no longer possible to enter a date or time, just using the up a...
asked by 22.05.2018 / 16:00
1
answer

How to give setTimeout in form submit? If there is such a

I have the following code and I would like to know how to make após o click no button enviar appear the message Login successfully! and after 3 seconds the form is sent: function validarLogin(strLogin,strSenha) { if(str...
asked by 18.05.2018 / 21:43